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(args : Array) : ExecResult #

[View source]
abstract def exec : ExecResult #

[View source]
abstract def exec(*args) : ExecResult #

[View source]
def query(*args, &block) #

[View source]
abstract def query(args : Array) : ResultSet #

[View source]
abstract def query : ResultSet #

[View source]
abstract def query(*args) : ResultSet #

[View source]
def scalar(*args) #

[View source]