Documentation ¶
Index ¶
- Variables
- type Doc
- type Entry
- type Float
- type ID
- type Int
- type Map
- func (m *Map) Entries() []Entry
- func (m *Map) Get(key string) (any, bool)
- func (m *Map) MarshalBSON() ([]byte, error)
- func (m *Map) MarshalJSON() ([]byte, error)
- func (m *Map) Put(key string, value any) *Map
- func (m *Map) PutAsArray(key string, others ...*Map)
- func (m *Map) PutAsHash(key, hashKey string, val any) *Map
- func (m *Map) Raw() rawbson.D
- func (m *Map) ToMap() map[string]any
- func (m *Map) UnmarshalBSON(bytes []byte) error
- func (m *Map) UnmarshalJSON(bytes []byte) error
- type Number
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Null = primitive.Null{} Nil = Null )
Functions ¶
This section is empty.
Types ¶
type Entry ¶
func (Entry) MarshalBJSON ¶
type Map ¶
type Map struct {
// contains filtered or unexported fields
}
func (*Map) MarshalBSON ¶
func (*Map) MarshalJSON ¶
func (*Map) PutAsArray ¶
func (*Map) UnmarshalBSON ¶
func (*Map) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.