package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Nov 27, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
KeyTypeDescendingOrder = -1
KeyTypeAscendingOrder = 1
KeyTypeText = "text"
KeyType2d = "2d"
KeyType2dsphere = "2dsphere"
)
type Key interface {
ToBsonD() bson.D
}
keyType 常用: 1 升序;-1 降序;"2dsphere"; "2d"; "text"。具体可以查阅mongodb文档
type KeyType = interface{}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.