Versions in this module Expand all Collapse all v1 v1.0.1 Jul 4, 2022 v1.0.0 Jun 27, 2022 Changes in this version + 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(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(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(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 struct + CharSet *goloquent.CharSet + Database string + Host string + Logger goloquent.LogHandler + Native goloquent.NativeHandler + Password string + Port string + TLSConfig string + UnixSocket string + Username string