cypher.go raw

   1  package store
   2  
   3  import "context"
   4  
   5  // CypherExecutor is an optional interface for database backends that support
   6  // direct Cypher query execution (currently only Neo4j). The gRPC client also
   7  // implements this to proxy queries in split IPC mode.
   8  type CypherExecutor interface {
   9  	ExecuteCypherRead(ctx context.Context, cypher string, params map[string]any) ([]map[string]any, error)
  10  }
  11