Versions in this module Expand all Collapse all v1 v1.7.4 Feb 6, 2025 Changes in this version + const DB_CONN + func Connect(ctx context.Context, args ...object.Object) object.Object + func Module() *object.Module + type DB struct + func New(ctx context.Context, connection string) (*DB, error) + func (db *DB) Close() error + func (db *DB) Cost() int + func (db *DB) Equals(other object.Object) object.Object + func (db *DB) Exec(ctx context.Context, args ...object.Object) object.Object + func (db *DB) GetAttr(name string) (object.Object, bool) + func (db *DB) Inspect() string + func (db *DB) Interface() interface{} + func (db *DB) IsTruthy() bool + func (db *DB) MarshalJSON() ([]byte, error) + func (db *DB) Query(ctx context.Context, args ...object.Object) object.Object + func (db *DB) RunOperation(opType op.BinaryOpType, right object.Object) object.Object + func (db *DB) SetAttr(name string, value object.Object) error + func (db *DB) Type() object.Type