Documentation ¶
Index ¶
- func Eval(expr Expr, env interface{}) (bool, error)
- func GreaterThan(x interface{}, y interface{}) (bool, error)
- func GreaterThanEqual(x interface{}, y interface{}) (bool, error)
- func Materialize(dst *Object, src interface{}) error
- func Unmaterialize(dst interface{}, src *Object) error
- func WithName(name string) func(*Config)
- type Client
- type Config
- type Expr
- type ID
- type Object
- type Session
- type Universe
- type World
- func (w *World) Count(ctx context.Context, options ...func(*toyquery.QOption)) (int, error)
- func (w *World) Describe() string
- func (w *World) Get(ctx context.Context, dst interface{}, options ...func(*toyquery.QOption)) error
- func (w *World) GetByID(ctx context.Context, id ID, dst interface{}) error
- func (w *World) InsertByID(ctx context.Context, id ID, src interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GreaterThan ¶
GreaterThan is x > y
func GreaterThanEqual ¶
GreaterThanEqual is x >= y
Types ¶
type Config ¶
type Config struct { Name string PrimaryKey string // default primarykey TODO: implementation AutoCreate bool }
Config :
Click to show internal directories.
Click to hide internal directories.