Class: Sqlx::Database::Stmt
Overview
One cache entry: the composed SQL and its prepared stmt ptr. A concrete
class rather than a bare ptr, so an Array of them types concretely and
length/[] resolve.
Instance Method Summary collapse
-
#initialize(sql, ptr) ⇒ Stmt
constructor
A new instance of Stmt.
- #ptr ⇒ Object
- #sql ⇒ Object
Constructor Details
#initialize(sql, ptr) ⇒ Stmt
Returns a new instance of Stmt.
155 156 157 158 |
# File 'runtime/database/sqlite.rb', line 155 def initialize(sql, ptr) @sql = sql @ptr = ptr end |