//
pkg.gl
Category
github.com/xpwu/go-db-mongo
mongodb
index
package
0.1.0
Repository:
https://github.com/xpwu/go-db-mongo.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
2
Files
49 SLOC
#
Functions
Keys
No description provided by the author
NewKey
keyType 常用: 1 升序;-1 降序;"2dsphere"; "2d"; "text"。具体可以查阅mongodb文档.
#
Constants
KeyType2d
No description provided by the author
KeyType2dsphere
No description provided by the author
KeyTypeAscendingOrder
No description provided by the author
KeyTypeDescendingOrder
No description provided by the author
KeyTypeText
No description provided by the author
#
Interfaces
Key
No description provided by the author
KeyType
No description provided by the author