struct

DB::Connection::Options

Inherits Struct / Value / Object

Constructors

new(prepared_statements : Bool = true, prepared_statements_cache : Bool = true)
Source

Class methods

from_http_params(params : HTTP::Params, default = Options.new)
Source

Instance methods

clone
Source
copy_with(prepared_statements _prepared_statements = @prepared_statements, prepared_statements_cache _prepared_statements_cache = @prepared_statements_cache)
Source
prepared_statements

Return whether the statements should be prepared by default

prepared_statements_cache

Return whether the prepared statements should be cached or not