abstract class Cryap::Database::Model

Included Modules

Direct Known Subclasses

Defined in:

core/neo4j/querybuilder/model.cr

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(unpacker : Neo4j::PackStream::Unpacker) #

def self.new(node : Neo4j::Node) #

Class Method Detail

def self.from_bolt(unpacker : Neo4j::PackStream::Unpacker) #

def self.from_bolt(io : IO) #

def self.model_name #

def self.paginate!(pagination : Cryap::API::Paginator, result : Array(String | Symbol), forward : Array(String | Symbol), column : Symbol, property : Symbol | Nil = nil, &) : Tuple(String, String | Nil) #

Macro Detail

macro model(name) #

macro query!(&block) #

Instance Method Detail

def node_id : Int64 #

def node_labels : Array(String) #

def paginate!(pagination : Cryap::API::Paginator, result : Array(String | Symbol), forward : Array(String | Symbol), column : Symbol, property : Symbol | Nil = nil, &) : Tuple(String, String | Nil) #