struct Cryap::Database::QueryMethods

Overview

CODE FROM moku PROJECT

Defined in:

db.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

Instance Method Detail

def driver #

def execute(_query query : String, **params) #

def read_query(query, as types : Tuple(*T), parameters : Neo4j::Map) forall T #

def read_query(query, as types : Tuple(*T)) forall T #

def read_query(query, as types : Tuple(*T), &) forall T #

def read_query(_query query, as types : Tuple(*T), **params) forall T #

def read_query(query : String) : Nil #

def read_query(_query query, as types : Tuple(*T), **params, &) forall T #

def read_transaction(& : Neo4j::Bolt::Transaction -> T) forall T #

def session(& : Neo4j::Session -> T) forall T #

def write_query(query : String, as types : Tuple(*T), **parameters) forall T #

def write_transaction(& : Neo4j::Bolt::Transaction -> T) forall T #