Documentation ¶
Index ¶
- Constants
- func Connect(ctx context.Context, args ...object.Object) object.Object
- func Module() *object.Module
- type DB
- 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
Constants ¶
View Source
const DB_CONN object.Type = "db.conn"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) MarshalJSON ¶
func (*DB) RunOperation ¶
Click to show internal directories.
Click to hide internal directories.