Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DavAccount) predicate.DavAccount
- func CreatedAt(v time.Time) predicate.DavAccount
- func CreatedAtEQ(v time.Time) predicate.DavAccount
- func CreatedAtGT(v time.Time) predicate.DavAccount
- func CreatedAtGTE(v time.Time) predicate.DavAccount
- func CreatedAtIn(vs ...time.Time) predicate.DavAccount
- func CreatedAtLT(v time.Time) predicate.DavAccount
- func CreatedAtLTE(v time.Time) predicate.DavAccount
- func CreatedAtNEQ(v time.Time) predicate.DavAccount
- func CreatedAtNotIn(vs ...time.Time) predicate.DavAccount
- func DeletedAt(v time.Time) predicate.DavAccount
- func DeletedAtEQ(v time.Time) predicate.DavAccount
- func DeletedAtGT(v time.Time) predicate.DavAccount
- func DeletedAtGTE(v time.Time) predicate.DavAccount
- func DeletedAtIn(vs ...time.Time) predicate.DavAccount
- func DeletedAtIsNil() predicate.DavAccount
- func DeletedAtLT(v time.Time) predicate.DavAccount
- func DeletedAtLTE(v time.Time) predicate.DavAccount
- func DeletedAtNEQ(v time.Time) predicate.DavAccount
- func DeletedAtNotIn(vs ...time.Time) predicate.DavAccount
- func DeletedAtNotNil() predicate.DavAccount
- func HasOwner() predicate.DavAccount
- func HasOwnerWith(preds ...predicate.User) predicate.DavAccount
- func ID(id int) predicate.DavAccount
- func IDEQ(id int) predicate.DavAccount
- func IDGT(id int) predicate.DavAccount
- func IDGTE(id int) predicate.DavAccount
- func IDIn(ids ...int) predicate.DavAccount
- func IDLT(id int) predicate.DavAccount
- func IDLTE(id int) predicate.DavAccount
- func IDNEQ(id int) predicate.DavAccount
- func IDNotIn(ids ...int) predicate.DavAccount
- func Name(v string) predicate.DavAccount
- func NameContains(v string) predicate.DavAccount
- func NameContainsFold(v string) predicate.DavAccount
- func NameEQ(v string) predicate.DavAccount
- func NameEqualFold(v string) predicate.DavAccount
- func NameGT(v string) predicate.DavAccount
- func NameGTE(v string) predicate.DavAccount
- func NameHasPrefix(v string) predicate.DavAccount
- func NameHasSuffix(v string) predicate.DavAccount
- func NameIn(vs ...string) predicate.DavAccount
- func NameLT(v string) predicate.DavAccount
- func NameLTE(v string) predicate.DavAccount
- func NameNEQ(v string) predicate.DavAccount
- func NameNotIn(vs ...string) predicate.DavAccount
- func Not(p predicate.DavAccount) predicate.DavAccount
- func Options(v *boolset.BooleanSet) predicate.DavAccount
- func OptionsEQ(v *boolset.BooleanSet) predicate.DavAccount
- func OptionsGT(v *boolset.BooleanSet) predicate.DavAccount
- func OptionsGTE(v *boolset.BooleanSet) predicate.DavAccount
- func OptionsIn(vs ...*boolset.BooleanSet) predicate.DavAccount
- func OptionsLT(v *boolset.BooleanSet) predicate.DavAccount
- func OptionsLTE(v *boolset.BooleanSet) predicate.DavAccount
- func OptionsNEQ(v *boolset.BooleanSet) predicate.DavAccount
- func OptionsNotIn(vs ...*boolset.BooleanSet) predicate.DavAccount
- func Or(predicates ...predicate.DavAccount) predicate.DavAccount
- func OwnerID(v int) predicate.DavAccount
- func OwnerIDEQ(v int) predicate.DavAccount
- func OwnerIDIn(vs ...int) predicate.DavAccount
- func OwnerIDNEQ(v int) predicate.DavAccount
- func OwnerIDNotIn(vs ...int) predicate.DavAccount
- func Password(v string) predicate.DavAccount
- func PasswordContains(v string) predicate.DavAccount
- func PasswordContainsFold(v string) predicate.DavAccount
- func PasswordEQ(v string) predicate.DavAccount
- func PasswordEqualFold(v string) predicate.DavAccount
- func PasswordGT(v string) predicate.DavAccount
- func PasswordGTE(v string) predicate.DavAccount
- func PasswordHasPrefix(v string) predicate.DavAccount
- func PasswordHasSuffix(v string) predicate.DavAccount
- func PasswordIn(vs ...string) predicate.DavAccount
- func PasswordLT(v string) predicate.DavAccount
- func PasswordLTE(v string) predicate.DavAccount
- func PasswordNEQ(v string) predicate.DavAccount
- func PasswordNotIn(vs ...string) predicate.DavAccount
- func PropsIsNil() predicate.DavAccount
- func PropsNotNil() predicate.DavAccount
- func URI(v string) predicate.DavAccount
- func URIContains(v string) predicate.DavAccount
- func URIContainsFold(v string) predicate.DavAccount
- func URIEQ(v string) predicate.DavAccount
- func URIEqualFold(v string) predicate.DavAccount
- func URIGT(v string) predicate.DavAccount
- func URIGTE(v string) predicate.DavAccount
- func URIHasPrefix(v string) predicate.DavAccount
- func URIHasSuffix(v string) predicate.DavAccount
- func URIIn(vs ...string) predicate.DavAccount
- func URILT(v string) predicate.DavAccount
- func URILTE(v string) predicate.DavAccount
- func URINEQ(v string) predicate.DavAccount
- func URINotIn(vs ...string) predicate.DavAccount
- func UpdatedAt(v time.Time) predicate.DavAccount
- func UpdatedAtEQ(v time.Time) predicate.DavAccount
- func UpdatedAtGT(v time.Time) predicate.DavAccount
- func UpdatedAtGTE(v time.Time) predicate.DavAccount
- func UpdatedAtIn(vs ...time.Time) predicate.DavAccount
- func UpdatedAtLT(v time.Time) predicate.DavAccount
- func UpdatedAtLTE(v time.Time) predicate.DavAccount
- func UpdatedAtNEQ(v time.Time) predicate.DavAccount
- func UpdatedAtNotIn(vs ...time.Time) predicate.DavAccount
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByPassword(opts ...sql.OrderTermOption) OrderOption
- func ByURI(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the davaccount type in the database. Label = "dav_account" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldURI holds the string denoting the uri field in the database. FieldURI = "uri" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldOptions holds the string denoting the options field in the database. FieldOptions = "options" // FieldProps holds the string denoting the props field in the database. FieldProps = "props" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // Table holds the table name of the davaccount in the database. Table = "dav_accounts" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "dav_accounts" // OwnerInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. OwnerInverseTable = "users" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" )
Variables ¶
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/cloudreve/Cloudreve/v4/ent/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldName, FieldURI, FieldPassword, FieldOptions, FieldProps, FieldOwnerID, }
Columns holds all SQL columns for davaccount fields.
Functions ¶
func And ¶
func And(predicates ...predicate.DavAccount) predicate.DavAccount
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.DavAccount
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.DavAccount
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.DavAccount
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.DavAccount
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.DavAccount
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.DavAccount
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.DavAccount
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.DavAccount
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.DavAccount
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.DavAccount
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.DavAccount
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.DavAccount
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.DavAccount
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.DavAccount
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.DavAccount
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.DavAccount
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.DavAccount
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.DavAccount
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.DavAccount
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.DavAccount
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func HasOwner ¶
func HasOwner() predicate.DavAccount
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.User) predicate.DavAccount
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.DavAccount
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.DavAccount
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.DavAccount
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.DavAccount
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.DavAccount
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.DavAccount
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.DavAccount
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.DavAccount
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.DavAccount
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.DavAccount
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.DavAccount
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.DavAccount
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.DavAccount
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.DavAccount
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.DavAccount
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.DavAccount
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.DavAccount
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.DavAccount
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.DavAccount
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.DavAccount) predicate.DavAccount
Not applies the not operator on the given predicate.
func Options ¶
func Options(v *boolset.BooleanSet) predicate.DavAccount
Options applies equality check predicate on the "options" field. It's identical to OptionsEQ.
func OptionsEQ ¶
func OptionsEQ(v *boolset.BooleanSet) predicate.DavAccount
OptionsEQ applies the EQ predicate on the "options" field.
func OptionsGT ¶
func OptionsGT(v *boolset.BooleanSet) predicate.DavAccount
OptionsGT applies the GT predicate on the "options" field.
func OptionsGTE ¶
func OptionsGTE(v *boolset.BooleanSet) predicate.DavAccount
OptionsGTE applies the GTE predicate on the "options" field.
func OptionsIn ¶
func OptionsIn(vs ...*boolset.BooleanSet) predicate.DavAccount
OptionsIn applies the In predicate on the "options" field.
func OptionsLT ¶
func OptionsLT(v *boolset.BooleanSet) predicate.DavAccount
OptionsLT applies the LT predicate on the "options" field.
func OptionsLTE ¶
func OptionsLTE(v *boolset.BooleanSet) predicate.DavAccount
OptionsLTE applies the LTE predicate on the "options" field.
func OptionsNEQ ¶
func OptionsNEQ(v *boolset.BooleanSet) predicate.DavAccount
OptionsNEQ applies the NEQ predicate on the "options" field.
func OptionsNotIn ¶
func OptionsNotIn(vs ...*boolset.BooleanSet) predicate.DavAccount
OptionsNotIn applies the NotIn predicate on the "options" field.
func Or ¶
func Or(predicates ...predicate.DavAccount) predicate.DavAccount
Or groups predicates with the OR operator between them.
func OwnerID ¶
func OwnerID(v int) predicate.DavAccount
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDEQ ¶
func OwnerIDEQ(v int) predicate.DavAccount
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDIn ¶
func OwnerIDIn(vs ...int) predicate.DavAccount
OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDNEQ ¶
func OwnerIDNEQ(v int) predicate.DavAccount
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
func OwnerIDNotIn(vs ...int) predicate.DavAccount
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func Password ¶
func Password(v string) predicate.DavAccount
Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
func PasswordContains ¶
func PasswordContains(v string) predicate.DavAccount
PasswordContains applies the Contains predicate on the "password" field.
func PasswordContainsFold ¶
func PasswordContainsFold(v string) predicate.DavAccount
PasswordContainsFold applies the ContainsFold predicate on the "password" field.
func PasswordEQ ¶
func PasswordEQ(v string) predicate.DavAccount
PasswordEQ applies the EQ predicate on the "password" field.
func PasswordEqualFold ¶
func PasswordEqualFold(v string) predicate.DavAccount
PasswordEqualFold applies the EqualFold predicate on the "password" field.
func PasswordGT ¶
func PasswordGT(v string) predicate.DavAccount
PasswordGT applies the GT predicate on the "password" field.
func PasswordGTE ¶
func PasswordGTE(v string) predicate.DavAccount
PasswordGTE applies the GTE predicate on the "password" field.
func PasswordHasPrefix ¶
func PasswordHasPrefix(v string) predicate.DavAccount
PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
func PasswordHasSuffix ¶
func PasswordHasSuffix(v string) predicate.DavAccount
PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
func PasswordIn ¶
func PasswordIn(vs ...string) predicate.DavAccount
PasswordIn applies the In predicate on the "password" field.
func PasswordLT ¶
func PasswordLT(v string) predicate.DavAccount
PasswordLT applies the LT predicate on the "password" field.
func PasswordLTE ¶
func PasswordLTE(v string) predicate.DavAccount
PasswordLTE applies the LTE predicate on the "password" field.
func PasswordNEQ ¶
func PasswordNEQ(v string) predicate.DavAccount
PasswordNEQ applies the NEQ predicate on the "password" field.
func PasswordNotIn ¶
func PasswordNotIn(vs ...string) predicate.DavAccount
PasswordNotIn applies the NotIn predicate on the "password" field.
func PropsIsNil ¶
func PropsIsNil() predicate.DavAccount
PropsIsNil applies the IsNil predicate on the "props" field.
func PropsNotNil ¶
func PropsNotNil() predicate.DavAccount
PropsNotNil applies the NotNil predicate on the "props" field.
func URI ¶
func URI(v string) predicate.DavAccount
URI applies equality check predicate on the "uri" field. It's identical to URIEQ.
func URIContains ¶
func URIContains(v string) predicate.DavAccount
URIContains applies the Contains predicate on the "uri" field.
func URIContainsFold ¶
func URIContainsFold(v string) predicate.DavAccount
URIContainsFold applies the ContainsFold predicate on the "uri" field.
func URIEQ ¶
func URIEQ(v string) predicate.DavAccount
URIEQ applies the EQ predicate on the "uri" field.
func URIEqualFold ¶
func URIEqualFold(v string) predicate.DavAccount
URIEqualFold applies the EqualFold predicate on the "uri" field.
func URIGT ¶
func URIGT(v string) predicate.DavAccount
URIGT applies the GT predicate on the "uri" field.
func URIGTE ¶
func URIGTE(v string) predicate.DavAccount
URIGTE applies the GTE predicate on the "uri" field.
func URIHasPrefix ¶
func URIHasPrefix(v string) predicate.DavAccount
URIHasPrefix applies the HasPrefix predicate on the "uri" field.
func URIHasSuffix ¶
func URIHasSuffix(v string) predicate.DavAccount
URIHasSuffix applies the HasSuffix predicate on the "uri" field.
func URIIn ¶
func URIIn(vs ...string) predicate.DavAccount
URIIn applies the In predicate on the "uri" field.
func URILT ¶
func URILT(v string) predicate.DavAccount
URILT applies the LT predicate on the "uri" field.
func URILTE ¶
func URILTE(v string) predicate.DavAccount
URILTE applies the LTE predicate on the "uri" field.
func URINEQ ¶
func URINEQ(v string) predicate.DavAccount
URINEQ applies the NEQ predicate on the "uri" field.
func URINotIn ¶
func URINotIn(vs ...string) predicate.DavAccount
URINotIn applies the NotIn predicate on the "uri" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.DavAccount
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.DavAccount
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.DavAccount
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.DavAccount
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.DavAccount
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.DavAccount
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.DavAccount
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.DavAccount
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.DavAccount
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the DavAccount queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByPassword ¶
func ByPassword(opts ...sql.OrderTermOption) OrderOption
ByPassword orders the results by the password field.
func ByURI ¶
func ByURI(opts ...sql.OrderTermOption) OrderOption
ByURI orders the results by the uri field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.