Documentation
¶
Index ¶
- func Ancestor(ancestor *datastore.Key) *goloquent.Query
- func AnyOfAncestor(ancestors ...*datastore.Key) *goloquent.Query
- func Connection(driver string) *goloquent.DB
- func Create(ctx context.Context, model interface{}, parentKey ...*datastore.Key) error
- func Delete(ctx context.Context, model interface{}) error
- func Destroy(ctx context.Context, model interface{}) error
- func DistinctOn(fields ...string) *goloquent.Query
- func Exec(ctx context.Context, stmt string, args ...interface{}) (sql.Result, error)
- func Find(ctx context.Context, key *datastore.Key, model interface{}) error
- func First(ctx context.Context, model interface{}) error
- func Get(ctx context.Context, model interface{}) error
- func Limit(limit int) *goloquent.Query
- func MatchAgainst(fields []string, value ...string) *goloquent.Query
- func Migrate(ctx context.Context, model ...interface{}) error
- func NewQuery() *goloquent.Query
- func Offset(offset int) *goloquent.Query
- func Omit(fields ...string) goloquent.Replacer
- func Open(ctx context.Context, driver string, conf Config) (*goloquent.DB, error)
- func OrderBy(fields ...interface{}) *goloquent.Query
- func Paginate(ctx context.Context, p *goloquent.Pagination, model interface{}) error
- func Query(ctx context.Context, stmt string, args ...interface{}) (*sql.Rows, error)
- func RunInTransaction(cb goloquent.TransactionHandler) error
- func Save(ctx context.Context, model interface{}) error
- func Select(fields ...string) *goloquent.Query
- func Table(name string) *goloquent.Table
- func Truncate(ctx context.Context, model ...interface{}) error
- func Unscoped() *goloquent.Query
- func Upsert(ctx context.Context, model interface{}, parentKey ...*datastore.Key) error
- func Where(field string, operator string, value interface{}) *goloquent.Query
- func WhereEqual(field string, value interface{}) *goloquent.Query
- func WhereJSON(field string, operator string, value interface{}) *goloquent.Query
- func WhereNotEqual(field string, value interface{}) *goloquent.Query
- func WhereNotNull(field string) *goloquent.Query
- func WhereNull(field string) *goloquent.Query
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnyOfAncestor ¶
AnyOfAncestor :
func MatchAgainst ¶
MatchAgainst :
func Paginate ¶
func Paginate(ctx context.Context, p *goloquent.Pagination, model interface{}) error
Paginate :
func RunInTransaction ¶
func RunInTransaction(cb goloquent.TransactionHandler) error
RunInTransaction :
func WhereNotEqual ¶
WhereNotEqual :
Types ¶
Click to show internal directories.
Click to hide internal directories.