Documentation ¶
Index ¶
- type DataCount
- type DataPaginate
- type MongoDB
- func (m *MongoDB) Count(collectionName string, body []byte) (DataCount, error)
- func (m *MongoDB) Delete(collectionName string, params map[string]string) error
- func (m *MongoDB) Insert(collectionName string, body []byte) (bson.M, error)
- func (m *MongoDB) List(collectionName string, params map[string]string) ([]bson.M, error)
- func (m *MongoDB) Paginate(collectionName string, body []byte) (DataPaginate, error)
- func (m *MongoDB) Query(collectionName string, body []byte) ([]bson.M, error)
- func (m *MongoDB) Replace(collectionName string, params map[string]string, body []byte) ([]bson.M, error)
- func (m *MongoDB) Show(collectionName string, id string) (bson.M, error)
- func (m *MongoDB) Update(collectionName string, params map[string]string, body []byte) ([]bson.M, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataPaginate ¶
Click to show internal directories.
Click to hide internal directories.