Documentation ¶
Index ¶
- func Ancestor(ancestor *datastore.Key) *goloquent.Query
- func AnyOfAncestor(ancestors ...*datastore.Key) *goloquent.Query
- func Connection(driver string) *goloquent.DB
- func Create(model interface{}, parentKey ...*datastore.Key) error
- func Delete(model interface{}) error
- func Destroy(model interface{}) error
- func DistinctOn(fields ...string) *goloquent.Query
- func Exec(stmt string, args ...interface{}) (sql.Result, error)
- func Find(key *datastore.Key, model interface{}) error
- func First(model interface{}) error
- func Get(model interface{}) error
- func Limit(limit int) *goloquent.Query
- func MatchAgainst(fields []string, value string) *goloquent.Query
- func Migrate(model ...interface{}) error
- func NewQuery() *goloquent.Query
- func Offset(offset int) *goloquent.Query
- func Omit(fields ...string) goloquent.Replacer
- func Open(driver string, conf Config) (*goloquent.DB, error)
- func OrderBy(fields ...interface{}) *goloquent.Query
- func Paginate(p *goloquent.Pagination, model interface{}) error
- func Query(stmt string, args ...interface{}) (*sql.Rows, error)
- func RunInTransaction(cb goloquent.TransactionHandler) error
- func Save(model interface{}) error
- func Select(fields ...string) *goloquent.Query
- func Table(name string) *goloquent.Table
- func Truncate(model ...interface{}) error
- func Unscoped() *goloquent.Query
- func Upsert(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 ¶ added in v0.5.0
MatchAgainst :
func RunInTransaction ¶
func RunInTransaction(cb goloquent.TransactionHandler) error
RunInTransaction :
func WhereNotEqual ¶
WhereNotEqual :
Types ¶
Click to show internal directories.
Click to hide internal directories.