module DB::StatementMethods

Overview

Common interface for connection based statements and for connection pool statements.

Included Modules

Direct including types

Defined in:

db/statement.cr

Instance Method Summary

Instance methods inherited from module DB::Disposable

close close, closed? closed?

Instance Method Detail

abstract def exec : ExecResult #

[View source]
abstract def exec(*args_, args : Array? = nil) : ExecResult #

[View source]
def query(*args_, args : Array? = nil, &) #

[View source]
abstract def query : ResultSet #

[View source]
abstract def query(*args_, args : Array? = nil) : ResultSet #

[View source]
def scalar(*args_, args : Array? = nil) #

[View source]