struct MySQL::Query

Defined in:

mysql/query.cr

Constant Summary

PARAM_REGEX = /:([a-zA-Z_0-9]+)/

Constructors

Instance Method Summary

Constructor Detail

def self.new(value : String, params = {} of String => MySQL::Types::SqlType) #

[View source]

Instance Method Detail

def params : Hash(String, Bool | Float64 | Int32 | Int64 | MySQL::Types::Date | Slice(UInt8) | String | Time | Nil) #

[View source]
def params=(params : Hash(String, Bool | Float64 | Int32 | Int64 | MySQL::Types::Date | Slice(UInt8) | String | Time | Nil)) #

[View source]
def representation(value) #

[View source]
def run(connection) #

[View source]
def to_mysql #

[View source]
def value : String #

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

[View source]