Documentation
¶
Index ¶
- Variables
- func Delete[T any](rFilter io.Reader) (int, []*T, error)
- func DeleteOne[T any](rFilter io.Reader) (int, *T, error)
- func Find[T any](rFilter io.Reader) (rt []*T, err error)
- func FindOne[T any](rFilter io.Reader) (*T, error)
- func Insert(rData io.Reader) (any, []byte, error)
- func Update(rFilter, rUpdate io.Reader, one bool) (int, error)
- func UpdateMongoClient(ip string, port int)
- func UseDbCol(dbName, colName string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Ctx context.Context Cancel context.CancelFunc Client *mongo.Client )
Functions ¶
func UpdateMongoClient ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.