class Marten::DB::Query::SQL::RawQuery(Model)

Included Modules

Defined in:

marten/db/query/sql/raw_query.cr

Constructors

Instance Method Summary

Instance methods inherited from module Marten::DB::Query::SQL::Sanitizer

sanitize_named_parameters(query : String, params : Hash(String, ::DB::Any), connection : Connection::Base | Nil = nil) sanitize_named_parameters, sanitize_positional_parameters(query : String, params : Array(::DB::Any), connection : Connection::Base | Nil = nil) sanitize_positional_parameters

Constructor Detail

def self.new(query : String, params : Array(::DB::Any) | Hash(String, ::DB::Any), using : String | Nil) #

[View source]

Instance Method Detail

def clone #

[View source]
def connection #

[View source]
def execute : Array(Model) #

[View source]
def params #

[View source]
def query #

[View source]
def using #

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

[View source]