Skip to content

Latest commit

 

History

History
 
 

hiro-graph-gremlin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

hiro-graph-gremlin: Gremlin Query Builder for HIRO Graph

Provides an imperative interface for building and composing Gremlin queries for use with the HIRO Graph API.

installation

$ npm install hiro-graph-gremlin

usage

import queryBuilder, { T, long } from "hiro-graph-gremlin";


const query = queryBuilder();

query.outE("edge")
    .has("ogit/_in-type", "ogit/Foo")
    .hasNot("ogit/_created-on", T.lt, long(Date.now()-1000))

missing features

  • placeholder support