mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-02 16:15:59 +08:00
model
This commit is contained in:
@@ -61,6 +61,10 @@ func initMongo() *mongo.Client {
|
||||
return mongoClient
|
||||
}
|
||||
|
||||
func GetCollection(mongoClient *mongo.Client) {
|
||||
|
||||
}
|
||||
|
||||
func CreateAllIndex(mongoClient *mongo.Client) {
|
||||
// mongodb create index
|
||||
if err := createMongoIndex(mongoClient, cSendLog, false, "send_id", "-send_time"); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user