class Pglog::StatementExecution

Included Modules

Defined in:

pglog/statement_execution.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(raw : Raw, sql : String | Nil = nil) #

[View source]

Class Method Detail

def self.sql_to_id(sql : String) : String #

[View source]

Instance Method Detail

def bind_parameters : String | Nil #

[View source]
def bind_parameters=(bind_parameters : String | Nil) #

[View source]
def database_name : String #

[View source]
def database_name=(database_name : String) #

[View source]
def error : ExecutionError | Nil #

[View source]
def error=(error : ExecutionError | Nil) #

[View source]
def execute_fetch : Bool #

[View source]
def execute_fetch=(execute_fetch : Bool) #

[View source]
def id : String #

[View source]
def id=(id : String) #

[View source]
def log_time : Time #

[View source]
def log_time=(log_time : Time) #

[View source]
def n_fetch : Int32 #

[View source]
def n_fetch=(n_fetch : Int32) #

[View source]
def session_id : String #

[View source]
def session_id=(session_id : String) #

[View source]
def set_bind(raw : Raw) #

[View source]
def sql : String #

[View source]
def sql=(sql : String) #

[View source]
def time_bind_usec : Int32 #

[View source]
def time_bind_usec=(time_bind_usec : Int32) #

[View source]
def time_exec_usec : Int64 #

[View source]
def time_exec_usec=(time_exec_usec : Int64) #

[View source]
def time_fetch_usec : Int64 #

[View source]
def time_fetch_usec=(time_fetch_usec : Int64) #

[View source]
def time_parse_usec : Int32 #

[View source]
def time_parse_usec=(time_parse_usec : Int32) #

[View source]
def transaction_id : Int64 #

[View source]
def transaction_id=(transaction_id : Int64) #

[View source]
def user_name : String #

[View source]
def user_name=(user_name : String) #

[View source]