Documentation ¶
Index ¶
- func InsertManyByM(ctx context.Context, db *mongo.Database) ([]string, error)
- func InsertOneByD(ctx context.Context, db *mongo.Database) (string, error)
- func InsertOneByM(ctx context.Context, db *mongo.Database) (string, error)
- func InsertOneByMap(ctx context.Context, db *mongo.Database) (string, error)
- func InsertOneByStruct(ctx context.Context, db *mongo.Database) (string, error)
- func QueryOneByNothing(ctx context.Context, db *mongo.Database) error
- func QueryOneByNothingDesc(ctx context.Context, db *mongo.Database) error
- func QueryOneByNothingMulSort(ctx context.Context, db *mongo.Database) error
- func UpdateDocOrInsert(ctx context.Context, db *mongo.Database) error
- type Person
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertOneByStruct ¶
func QueryOneByNothingDesc ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.