Documentation ¶
Index ¶
- type Model
- func (self *Model) CountDocumentsByID(jwtID primitive.ObjectID) (int64, error)
- func (self *Model) CountDocumentsByIDAndToken(jwtID primitive.ObjectID, token string) (int64, error)
- func (self *Model) CountDocumentsByUserIDAndType(userID primitive.ObjectID, typ string) (int64, error)
- func (self *Model) FilterByType(typ string) bson.D
- func (self *Model) FilterByUserID(userID primitive.ObjectID) bson.D
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
func (*Model) CountDocumentsByID ¶
func (*Model) CountDocumentsByIDAndToken ¶
func (*Model) CountDocumentsByUserIDAndType ¶
Click to show internal directories.
Click to hide internal directories.