struct Apps::RemoteSQL::SQLop

Included Modules

Defined in:

pb-Apps/CATS_SQL.pb.cr

Constant Summary

FIELDS = {1 => {name: :sql_command, pb_type: :int32, crystal_type: Int32, cast_type: Int32, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :connect_argument, pb_type: ConnectArgument, crystal_type: ConnectArgument, cast_type: ConnectArgument?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :connect_result, pb_type: ConnectResult, crystal_type: ConnectResult, cast_type: ConnectResult?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :execute_argument, pb_type: ExecuteArgument, crystal_type: ExecuteArgument, cast_type: ExecuteArgument?, native: false, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :execute_result, pb_type: ExecuteResult, crystal_type: ExecuteResult, cast_type: ExecuteResult?, native: false, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :close_argument, pb_type: CloseArgument, crystal_type: CloseArgument, cast_type: CloseArgument?, native: false, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :close_result, pb_type: CloseResult, crystal_type: CloseResult, cast_type: CloseResult?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(sql_command : Int32, connect_argument : ConnectArgument | Nil = nil, connect_result : ConnectResult | Nil = nil, execute_argument : ExecuteArgument | Nil = nil, execute_result : ExecuteResult | Nil = nil, close_argument : CloseArgument | Nil = nil, close_result : CloseResult | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def close_argument : CloseArgument | Nil #

def close_argument=(close_argument : CloseArgument | Nil) #

def close_result : CloseResult | Nil #

def close_result=(close_result : CloseResult | Nil) #

def connect_argument : ConnectArgument | Nil #

def connect_argument=(connect_argument : ConnectArgument | Nil) #

def connect_result : ConnectResult | Nil #

def connect_result=(connect_result : ConnectResult | Nil) #

def execute_argument : ExecuteArgument | Nil #

def execute_argument=(execute_argument : ExecuteArgument | Nil) #

def execute_result : ExecuteResult | Nil #

def execute_result=(execute_result : ExecuteResult | Nil) #

def sql_command : Int32 #

def sql_command=(sql_command : Int32) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #