user

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Code generated by mongox, DO NOT EDIT.

Code generated by mognox, DO NOT EDIT.

Code generated by mongox, DO NOT EDIT.

Code generated by mongox, DO NOT EDIT.

Code generated by mongox, DO NOT EDIT.

Code generated by mognox, DO NOT EDIT.

Index

Constants

View Source
const (
	CollectionName                 = "user"
	FieldId                        = "_id"
	FieldString                    = "string"
	FieldBool                      = "bool"
	FieldBinary                    = "binary"
	FieldDouble                    = "double"
	FieldDataTime                  = "data_time"
	FieldCreateAt                  = "create_at"
	FieldPointer                   = "pointer"
	FieldDecimal                   = "decimal"
	FieldInt32                     = "int32"
	FieldInt64                     = "int64"
	FieldJs                        = "js"
	FieldJsScope                   = "js_scope"
	FieldRegular                   = "regular"
	FieldInt32s                    = "int32s"
	FieldInt64s                    = "int64s"
	FieldStrings                   = "strings"
	FieldFloats                    = "floats"
	FieldArrayAny                  = "array_any"
	FieldArrayobjectSimple         = "arrayobject_simple"
	FieldArrayobjectSimpleId       = "arrayobject_simple._id"
	FieldArrayobjectSimpleString   = "arrayobject_simple.string"
	FieldArrayobjectSimpleBool     = "arrayobject_simple.bool"
	FieldArrayobjectSimpleBinary   = "arrayobject_simple.binary"
	FieldArrayobjectSimpleDouble   = "arrayobject_simple.double"
	FieldArrayobjectSimpleDataTime = "arrayobject_simple.data_time"
	FieldArrayobjectSimpleCreateAt = "arrayobject_simple.create_at"
	FieldArrayobjectSimplePointer  = "arrayobject_simple.pointer"
	FieldArrayobjectSimpleDecimal  = "arrayobject_simple.decimal"
	FieldArrayobjectSimpleInt32    = "arrayobject_simple.int32"
	FieldArrayobjectSimpleInt64    = "arrayobject_simple.int64"
	FieldArrayobjectSimpleJs       = "arrayobject_simple.js"
	FieldArrayobjectSimpleJsScope  = "arrayobject_simple.js_scope"
	FieldArrayobjectSimpleRegular  = "arrayobject_simple.regular"
	FieldArrayobjectSimpleInt32s   = "arrayobject_simple.int32s"
	FieldArrayobjectSimpleInt64s   = "arrayobject_simple.int64s"
	FieldArrayobjectSimpleStrings  = "arrayobject_simple.strings"
	FieldArrayobjectSimpleFloats   = "arrayobject_simple.floats"
	FieldObjectSimple              = "object_simple"
	FieldObjectSimpleId            = "object_simple._id"
	FieldObjectSimpleString        = "object_simple.string"
	FieldObjectSimpleBool          = "object_simple.bool"
	FieldObjectSimpleBinary        = "object_simple.binary"
	FieldObjectSimpleDouble        = "object_simple.double"
	FieldObjectSimpleDataTime      = "object_simple.data_time"
	FieldObjectSimpleCreateAt      = "object_simple.create_at"
	FieldObjectSimplePointer       = "object_simple.pointer"
	FieldObjectSimpleDecimal       = "object_simple.decimal"
	FieldObjectSimpleInt32         = "object_simple.int32"
	FieldObjectSimpleInt64         = "object_simple.int64"
	FieldObjectSimpleJs            = "object_simple.js"
	FieldObjectSimpleJsScope       = "object_simple.js_scope"
	FieldObjectSimpleRegular       = "object_simple.regular"
	FieldObjectSimpleInt32s        = "object_simple.int32s"
	FieldObjectSimpleInt64s        = "object_simple.int64s"
	FieldObjectSimpleStrings       = "object_simple.strings"
	FieldObjectSimpleFloats        = "object_simple.floats"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type UserAggregate

type UserAggregate struct {
	// contains filtered or unexported fields
}

func NewUserAggregate

func NewUserAggregate(cc *mongo.Collection) *UserAggregate

func (*UserAggregate) Find

func (a *UserAggregate) Find(ctx context.Context, val interface{}) (err error)

Find get result as slice

func (*UserAggregate) FindOne

func (a *UserAggregate) FindOne(ctx context.Context, val interface{}) (err error)

FindOne get one data

func (*UserAggregate) Save

func (a *UserAggregate) Save(ctx context.Context) error

Save only save result,such as: $out,$merge

func (*UserAggregate) SetAllowDiskUse

func (a *UserAggregate) SetAllowDiskUse(b bool) *UserAggregate

SetAllowDiskUse sets the value for the AllowDiskUse field.

func (*UserAggregate) SetBatchSize

func (a *UserAggregate) SetBatchSize(i int32) *UserAggregate

SetBatchSize sets the value for the BatchSize field.

func (*UserAggregate) SetBypassDocumentValidation

func (a *UserAggregate) SetBypassDocumentValidation(b bool) *UserAggregate

SetBypassDocumentValidation sets the value for the BypassDocumentValidation field.

func (*UserAggregate) SetCollation

func (a *UserAggregate) SetCollation(c *options.Collation) *UserAggregate

SetCollation sets the value for the Collation field.

func (*UserAggregate) SetComment

func (a *UserAggregate) SetComment(s string) *UserAggregate

SetComment sets the value for the Comment field.

func (*UserAggregate) SetCustom

func (a *UserAggregate) SetCustom(c bson.M) *UserAggregate

SetCustom sets the value for the Custom field. Key-value pairs of the BSON map should correlate with desired option names and values. Values must be Marshalable. Custom options may conflict with non-custom options, and custom options bypass client-side validation. Prefer using non-custom options where possible.

func (*UserAggregate) SetHint

func (a *UserAggregate) SetHint(h interface{}) *UserAggregate

SetHint sets the value for the Hint field.

func (*UserAggregate) SetLet

func (a *UserAggregate) SetLet(let interface{}) *UserAggregate

SetLet sets the value for the Let field.

func (*UserAggregate) SetMaxAwaitTime

func (a *UserAggregate) SetMaxAwaitTime(d time.Duration) *UserAggregate

SetMaxAwaitTime sets the value for the MaxAwaitTime field.

func (*UserAggregate) SetMaxTime

func (a *UserAggregate) SetMaxTime(d time.Duration) *UserAggregate

SetMaxTime sets the value for the MaxTime field.

NOTE(benjirewis): MaxTime will be deprecated in a future release. The more general Timeout option may be used in its place to control the amount of time that a single operation can run before returning an error. MaxTime is ignored if Timeout is set on the client.

func (*UserAggregate) SetPipe

func (a *UserAggregate) SetPipe(pipe aggregates.Pipe) *UserAggregate

SetPipe set aggregate pipe

type UserArrayobjectSimpleData

type UserArrayobjectSimpleData struct {
	Id       primitive.ObjectID      `bson:"_id" json:"aaaa"`
	String   string                  `bson:"string" json:"s1"`
	Bool     bool                    `bson:"bool" json:"s1"`
	Binary   primitive.Binary        `bson:"binary" json:"b1"`
	Double   float64                 `bson:"double" json:"d1"`
	DataTime primitive.DateTime      `bson:"data_time" json:"aaaa"`
	CreateAt primitive.Timestamp     `bson:"create_at" json:"aaaa"`
	Pointer  primitive.DBPointer     `bson:"pointer" json:"aaaa"`
	Decimal  primitive.Decimal128    `bson:"decimal" json:"aaaa"`
	Int32    int32                   `bson:"int32" json:"aaaa"`
	Int64    int64                   `bson:"int64" json:"aaaa"`
	Js       primitive.JavaScript    `bson:"js" json:"aaaa"`
	JsScope  primitive.CodeWithScope `bson:"js_scope" json:"aaaa"`
	Regular  primitive.Regex         `bson:"regular" json:"aaaa"`
	Int32s   []int32                 `bson:"int32s" json:"aaaa"`
	Int64s   []int64                 `bson:"int64s" json:"aaaa"`
	Strings  []string                `bson:"strings" json:"aaaa"`
	Floats   []float64               `bson:"floats" json:"aaaa"`
}

type UserClient

type UserClient struct {
	// contains filtered or unexported fields
}

func NewUserClient

func NewUserClient(db *mongo.Client) *UserClient

func (*UserClient) Aggregate

func (c *UserClient) Aggregate() *UserAggregate

func (*UserClient) BulkWrite

func (*UserClient) Clone

func (c *UserClient) Clone(opts ...*options.CollectionOptions) (*mongo.Collection, error)

func (*UserClient) Create

func (c *UserClient) Create() *UserCreate

func (*UserClient) Database

func (c *UserClient) Database(database string) *UserClient

func (*UserClient) DeleteMany

func (c *UserClient) DeleteMany() *UserDeleteMany

func (*UserClient) DeleteOne

func (c *UserClient) DeleteOne() *UserDeleteOne

func (*UserClient) Drop

func (c *UserClient) Drop(ctx context.Context) error

func (*UserClient) GetDatabase

func (c *UserClient) GetDatabase() *mongo.Database

func (*UserClient) Indexes

func (c *UserClient) Indexes() mongo.IndexView

func (*UserClient) Name

func (c *UserClient) Name() string

func (*UserClient) Query

func (c *UserClient) Query() *UserQuery

func (*UserClient) ReplaceOne

func (c *UserClient) ReplaceOne() *UserReplaceOne

func (*UserClient) UpdateMany

func (c *UserClient) UpdateMany() *UserUpdateMany

func (*UserClient) UpdateOne

func (c *UserClient) UpdateOne() *UserUpdateOne

func (*UserClient) UpdateOneID

func (c *UserClient) UpdateOneID(id primitive.ObjectID) *UserUpdateOneID

func (*UserClient) Watch

type UserCreate

type UserCreate struct {
	// contains filtered or unexported fields
}

func NewUserCreate

func NewUserCreate(cc *mongo.Collection) *UserCreate

func (*UserCreate) InsertMany

func (q *UserCreate) InsertMany(ctx context.Context, docs []UserData, opts ...*options.InsertManyOptions) ([]UserData, error)

func (*UserCreate) InsertOne

func (q *UserCreate) InsertOne(ctx context.Context, doc UserData, opts ...*options.InsertOneOptions) (*UserData, error)

type UserData

type UserData struct {
	Id                    primitive.ObjectID           `bson:"_id" json:"aaaa"`
	String                string                       `bson:"string" json:"s1"`
	Bool                  bool                         `bson:"bool" json:"s1"`
	Binary                primitive.Binary             `bson:"binary" json:"b1"`
	Double                float64                      `bson:"double" json:"d1"`
	DataTime              primitive.DateTime           `bson:"data_time" json:"aaaa"`
	CreateAt              primitive.Timestamp          `bson:"create_at" json:"aaaa"`
	Pointer               primitive.DBPointer          `bson:"pointer" json:"aaaa"`
	Decimal               primitive.Decimal128         `bson:"decimal" json:"aaaa"`
	Int32                 int32                        `bson:"int32" json:"aaaa"`
	Int64                 int64                        `bson:"int64" json:"aaaa"`
	Js                    primitive.JavaScript         `bson:"js" json:"aaaa"`
	JsScope               primitive.CodeWithScope      `bson:"js_scope" json:"aaaa"`
	Regular               primitive.Regex              `bson:"regular" json:"aaaa"`
	Int32s                []int32                      `bson:"int32s" json:"aaaa"`
	Int64s                []int64                      `bson:"int64s" json:"aaaa"`
	Strings               []string                     `bson:"strings" json:"aaaa"`
	Floats                []float64                    `bson:"floats" json:"aaaa"`
	ArrayAny              []any                        `bson:"array_any" json:"aaaa"`
	ArrayobjectSimpleList []*UserArrayobjectSimpleData `bson:"arrayobject_simple" json:"aaaa"`
	ObjectSimple          *UserObjectSimpleData        `bson:"object_simple" json:"aaaa"`
}

func (UserData) Document

func (d UserData) Document() any

func (UserData) Update

func (d UserData) Update()

type UserDeleteMany

type UserDeleteMany struct {
	// contains filtered or unexported fields
}

func NewUserDeleteMany

func NewUserDeleteMany(cc *mongo.Collection) *UserDeleteMany

func (*UserDeleteMany) Save

func (*UserDeleteMany) SetCollation

func (u *UserDeleteMany) SetCollation(c *options.Collation) *UserDeleteMany

SetCollation sets the value for the Collation field.

func (*UserDeleteMany) SetComment

func (u *UserDeleteMany) SetComment(comment interface{}) *UserDeleteMany

SetComment sets the value for the Comment field.

func (*UserDeleteMany) SetFilter

func (u *UserDeleteMany) SetFilter(f filters.Filter) *UserDeleteMany

SetFilter set filter

func (*UserDeleteMany) SetHint

func (u *UserDeleteMany) SetHint(h interface{}) *UserDeleteMany

SetHint sets the value for the Hint field.

func (*UserDeleteMany) SetLet

func (u *UserDeleteMany) SetLet(l interface{}) *UserDeleteMany

SetLet sets the value for the Let field.

type UserDeleteOne

type UserDeleteOne struct {
	// contains filtered or unexported fields
}

func NewUserDeleteOne

func NewUserDeleteOne(cc *mongo.Collection) *UserDeleteOne

func (*UserDeleteOne) Save

func (*UserDeleteOne) SetCollation

func (u *UserDeleteOne) SetCollation(c *options.Collation) *UserDeleteOne

SetCollation sets the value for the Collation field.

func (*UserDeleteOne) SetComment

func (u *UserDeleteOne) SetComment(comment interface{}) *UserDeleteOne

SetComment sets the value for the Comment field.

func (*UserDeleteOne) SetFilter

func (u *UserDeleteOne) SetFilter(f filters.Filter) *UserDeleteOne

SetFilter set filter

func (*UserDeleteOne) SetHint

func (u *UserDeleteOne) SetHint(h interface{}) *UserDeleteOne

SetHint sets the value for the Hint field.

func (*UserDeleteOne) SetLet

func (u *UserDeleteOne) SetLet(l interface{}) *UserDeleteOne

SetLet sets the value for the Let field.

type UserObjectSimpleData

type UserObjectSimpleData struct {
	Id       primitive.ObjectID      `bson:"_id" json:"aaaa"`
	String   string                  `bson:"string" json:"s1"`
	Bool     bool                    `bson:"bool" json:"s1"`
	Binary   primitive.Binary        `bson:"binary" json:"b1"`
	Double   float64                 `bson:"double" json:"d1"`
	DataTime primitive.DateTime      `bson:"data_time" json:"aaaa"`
	CreateAt primitive.Timestamp     `bson:"create_at" json:"aaaa"`
	Pointer  primitive.DBPointer     `bson:"pointer" json:"aaaa"`
	Decimal  primitive.Decimal128    `bson:"decimal" json:"aaaa"`
	Int32    int32                   `bson:"int32" json:"aaaa"`
	Int64    int64                   `bson:"int64" json:"aaaa"`
	Js       primitive.JavaScript    `bson:"js" json:"aaaa"`
	JsScope  primitive.CodeWithScope `bson:"js_scope" json:"aaaa"`
	Regular  primitive.Regex         `bson:"regular" json:"aaaa"`
	Int32s   []int32                 `bson:"int32s" json:"aaaa"`
	Int64s   []int64                 `bson:"int64s" json:"aaaa"`
	Strings  []string                `bson:"strings" json:"aaaa"`
	Floats   []float64               `bson:"floats" json:"aaaa"`
}

type UserQuery

type UserQuery struct {
	// contains filtered or unexported fields
}

func NewUserQuery

func NewUserQuery(cc *mongo.Collection) *UserQuery

func (*UserQuery) CountDocuments

func (q *UserQuery) CountDocuments(ctx context.Context, opts ...*options.CountOptions) (int64, error)

func (*UserQuery) Distinct

func (q *UserQuery) Distinct(ctx context.Context, opts ...*options.DistinctOptions) ([]interface{}, error)

func (*UserQuery) EstimatedDocumentCount

func (q *UserQuery) EstimatedDocumentCount(ctx context.Context, opts ...*options.EstimatedDocumentCountOptions) (int64, error)

func (*UserQuery) Find

func (q *UserQuery) Find(ctx context.Context, opts ...*options.FindOptions) (result []*UserData, err error)

func (*UserQuery) FindOne

func (q *UserQuery) FindOne(ctx context.Context, opts ...*options.FindOneOptions) (result *UserData, err error)

func (*UserQuery) FindOneAndDelete

func (q *UserQuery) FindOneAndDelete(ctx context.Context, opts ...*options.FindOneAndDeleteOptions) (result *UserData, err error)

func (*UserQuery) FindOneAndReplace

func (q *UserQuery) FindOneAndReplace(ctx context.Context, opts ...*options.FindOneAndReplaceOptions) (result *UserData, err error)

func (*UserQuery) FindOneAndUpdate

func (q *UserQuery) FindOneAndUpdate(ctx context.Context, opts ...*options.FindOneAndUpdateOptions) (result *UserData, err error)

func (*UserQuery) SetFieldName

func (q *UserQuery) SetFieldName(replace *UserData) *UserQuery

SetFieldName set distinct fieldName, use when Distinct

func (*UserQuery) SetFilter

func (q *UserQuery) SetFilter(f filters.Filter) *UserQuery

SetFilter set filter

func (*UserQuery) SetReplace

func (q *UserQuery) SetReplace(replace *UserData) *UserQuery

SetReplace set replace doc, use when FindOneAndReplace

func (*UserQuery) SetUpdate

func (q *UserQuery) SetUpdate(up updates.Update) *UserQuery

SetUpdate set update doc, use when FindOneAndUpdate

type UserReplaceOne

type UserReplaceOne struct {
	// contains filtered or unexported fields
}

func NewUserReplaceOne

func NewUserReplaceOne(cc *mongo.Collection) *UserReplaceOne

func (*UserReplaceOne) Save

func (*UserReplaceOne) SetBypassDocumentValidation

func (u *UserReplaceOne) SetBypassDocumentValidation(b bool) *UserReplaceOne

SetBypassDocumentValidation sets the value for the BypassDocumentValidation field.

func (*UserReplaceOne) SetCollation

func (u *UserReplaceOne) SetCollation(c *options.Collation) *UserReplaceOne

SetCollation sets the value for the Collation field.

func (*UserReplaceOne) SetComment

func (u *UserReplaceOne) SetComment(comment interface{}) *UserReplaceOne

SetComment sets the value for the Comment field.

func (*UserReplaceOne) SetFilter

func (u *UserReplaceOne) SetFilter(f filters.Filter) *UserReplaceOne

SetFilter set filter

func (*UserReplaceOne) SetHint

func (u *UserReplaceOne) SetHint(h interface{}) *UserReplaceOne

SetHint sets the value for the Hint field.

func (*UserReplaceOne) SetLet

func (u *UserReplaceOne) SetLet(l interface{}) *UserReplaceOne

SetLet sets the value for the Let field.

func (*UserReplaceOne) SetReplace

func (u *UserReplaceOne) SetReplace(replace *UserData) *UserReplaceOne

SetReplace set replace doc

func (*UserReplaceOne) SetUpsert

func (u *UserReplaceOne) SetUpsert(b bool) *UserReplaceOne

SetUpsert sets the value for the Upsert field.

type UserUpdateMany

type UserUpdateMany struct {
	// contains filtered or unexported fields
}

func NewUserUpdateMany

func NewUserUpdateMany(cc *mongo.Collection) *UserUpdateMany

func (*UserUpdateMany) Save

func (*UserUpdateMany) SetArrayFilters

func (u *UserUpdateMany) SetArrayFilters(af options.ArrayFilters) *UserUpdateMany

SetArrayFilters sets the value for the ArrayFilters field.

func (*UserUpdateMany) SetBypassDocumentValidation

func (u *UserUpdateMany) SetBypassDocumentValidation(b bool) *UserUpdateMany

SetBypassDocumentValidation sets the value for the BypassDocumentValidation field.

func (*UserUpdateMany) SetCollation

func (u *UserUpdateMany) SetCollation(c *options.Collation) *UserUpdateMany

SetCollation sets the value for the Collation field.

func (*UserUpdateMany) SetComment

func (u *UserUpdateMany) SetComment(comment interface{}) *UserUpdateMany

SetComment sets the value for the Comment field.

func (*UserUpdateMany) SetFilter

func (u *UserUpdateMany) SetFilter(f filters.Filter) *UserUpdateMany

SetFilter set filter

func (*UserUpdateMany) SetHint

func (u *UserUpdateMany) SetHint(h interface{}) *UserUpdateMany

SetHint sets the value for the Hint field.

func (*UserUpdateMany) SetLet

func (u *UserUpdateMany) SetLet(l interface{}) *UserUpdateMany

SetLet sets the value for the Let field.

func (*UserUpdateMany) SetUpdate

func (u *UserUpdateMany) SetUpdate(up updates.Update) *UserUpdateMany

SetUpdate set update doc

func (*UserUpdateMany) SetUpsert

func (u *UserUpdateMany) SetUpsert(b bool) *UserUpdateMany

SetUpsert sets the value for the Upsert field.

type UserUpdateOne

type UserUpdateOne struct {
	// contains filtered or unexported fields
}

func NewUserUpdateOne

func NewUserUpdateOne(cc *mongo.Collection) *UserUpdateOne

func (*UserUpdateOne) Save

func (*UserUpdateOne) SetArrayFilters

func (u *UserUpdateOne) SetArrayFilters(af options.ArrayFilters) *UserUpdateOne

SetArrayFilters sets the value for the ArrayFilters field.

func (*UserUpdateOne) SetBypassDocumentValidation

func (u *UserUpdateOne) SetBypassDocumentValidation(b bool) *UserUpdateOne

SetBypassDocumentValidation sets the value for the BypassDocumentValidation field.

func (*UserUpdateOne) SetCollation

func (u *UserUpdateOne) SetCollation(c *options.Collation) *UserUpdateOne

SetCollation sets the value for the Collation field.

func (*UserUpdateOne) SetComment

func (u *UserUpdateOne) SetComment(comment interface{}) *UserUpdateOne

SetComment sets the value for the Comment field.

func (*UserUpdateOne) SetFilter

func (u *UserUpdateOne) SetFilter(f filters.Filter) *UserUpdateOne

SetFilter set filter

func (*UserUpdateOne) SetHint

func (u *UserUpdateOne) SetHint(h interface{}) *UserUpdateOne

SetHint sets the value for the Hint field.

func (*UserUpdateOne) SetLet

func (u *UserUpdateOne) SetLet(l interface{}) *UserUpdateOne

SetLet sets the value for the Let field.

func (*UserUpdateOne) SetUpdate

func (u *UserUpdateOne) SetUpdate(up updates.Update) *UserUpdateOne

SetUpdate set update doc

func (*UserUpdateOne) SetUpsert

func (u *UserUpdateOne) SetUpsert(b bool) *UserUpdateOne

SetUpsert sets the value for the Upsert field.

type UserUpdateOneID

type UserUpdateOneID struct {
	// contains filtered or unexported fields
}

func NewUserUpdateOneID

func NewUserUpdateOneID(id primitive.ObjectID, cc *mongo.Collection) *UserUpdateOneID

func (*UserUpdateOneID) Save

func (*UserUpdateOneID) SetArrayFilters

func (u *UserUpdateOneID) SetArrayFilters(af options.ArrayFilters) *UserUpdateOneID

SetArrayFilters sets the value for the ArrayFilters field.

func (*UserUpdateOneID) SetBypassDocumentValidation

func (u *UserUpdateOneID) SetBypassDocumentValidation(b bool) *UserUpdateOneID

SetBypassDocumentValidation sets the value for the BypassDocumentValidation field.

func (*UserUpdateOneID) SetCollation

func (u *UserUpdateOneID) SetCollation(c *options.Collation) *UserUpdateOneID

SetCollation sets the value for the Collation field.

func (*UserUpdateOneID) SetComment

func (u *UserUpdateOneID) SetComment(comment interface{}) *UserUpdateOneID

SetComment sets the value for the Comment field.

func (*UserUpdateOneID) SetHint

func (u *UserUpdateOneID) SetHint(h interface{}) *UserUpdateOneID

SetHint sets the value for the Hint field.

func (*UserUpdateOneID) SetLet

func (u *UserUpdateOneID) SetLet(l interface{}) *UserUpdateOneID

SetLet sets the value for the Let field.

func (*UserUpdateOneID) SetUpdate

func (u *UserUpdateOneID) SetUpdate(up updates.Update) *UserUpdateOneID

SetUpdate set update doc

func (*UserUpdateOneID) SetUpsert

func (u *UserUpdateOneID) SetUpsert(b bool) *UserUpdateOneID

SetUpsert sets the value for the Upsert field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL