struct Redis::Graph::Constraints(T)

Defined in:

graph/constraints.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(graph : Graph::Client(T), redis : T, key : String, cache : Cache) #

[View source]

Instance Method Detail

def cache : Cache #

def clone #

[View source]
def copy_with(graph _graph = @graph, redis _redis = @redis, key _key = @key, cache _cache = @cache) #

[View source]
def create(label_or_relationship_type, constraint_type : Type, entity_type : EntityType, property : String) #

[View source]
def create(label_or_relationship_type, constraint_type : Type, entity_type : EntityType, properties : Array(String)) #

[View source]
def graph : Graph::Client(T) #

def key : String #

def list #

[View source]
def list(*, node label : String) #

[View source]
def list(*, relationship type : String) #

[View source]
def redis : T #