Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 861 Bytes

repositories.md

File metadata and controls

27 lines (21 loc) · 861 Bytes

Repositories

ORM Edge creation

When using ORM to create an EDGE entry you have to specify the FROM and TO fields using the name of Label (table) followed by slash and the ID.

const postOwnerData = {
  owner: 'People/' + PeopleID,
  post: 'Post/' + postID
};

await this.postOwnerRepository.create(postOwnerData);

To use CRUD methods you can use it as you would use with any other connector, see more in CRUD methods.

To use Gremlin Traversal Steps in bytecode mode look at Direct Query Execution (Gremlin Bytecode).

Keep reading

Back