class Neo4j::Bolt::Connection

Defined in:

neo4j/bolt/connection.cr

Constant Summary

COMMANDS = {init: 1, run: 16, pull_all: 63, ack_failure: 14, reset: 15}
GOGOBOLT = "``\xB0\u0017"
SUPPORTED_VERSIONS = String.new(Bytes[0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])

Constructors

Instance Method Summary

Constructor Detail

def self.new(url : String, ssl : Bool) #

[View source]
def self.new(url : String) #

[View source]
def self.new(uri : URI, ssl : Bool = true) #

[View source]
def self.new #

[View source]

Instance Method Detail

def close #

[View source]
def execute(query, parameters : Hash(String, Type)) #

[View source]
def execute(query, **params) #

[View source]
def reset #

If the connection gets into a wonky state, this method tells the server to reset it back to a normal state, but you lose everything you haven't pulled down yet.


[View source]
def transaction(&) #

[View source]