Skip to content
This repository was archived by the owner on Apr 16, 2022. It is now read-only.
This repository was archived by the owner on Apr 16, 2022. It is now read-only.

Support @Query annotation for executing Custom Queries #248

@Tin-Nguyen

Description

@Tin-Nguyen

Expected Behavior

@Repository
public interface TodoRepository extends GremlinRepository<ToDo, String> {
 
    @Query("g.V().has(label, 'TODO').has(id, :id)") 
    String findTitleById(@Param("id") Long id);
}

Current Behavior

Possible Solution

  • I might create a PR soon

Steps to Reproduce (for bugs)

  • Not a bug, this is a suggestion

Your Environment

  • Version used:
  • Operating System and version (desktop or mobile):
  • SDK version:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions