Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCount ¶
func NewCmdCount(op CountDocumentsOp) *cobra.Command
NewCmdCount returns an instance of Count command.
Types ¶
type CountDocumentsOp ¶
type CountDocumentsOp interface {
CountDocuments(databaseName, collectionName string) (int64, error)
}
CountDocumentsOp is exported.
type CountOptions ¶
CountOptions is exported.
func (*CountOptions) Execute ¶
func (o *CountOptions) Execute(op CountDocumentsOp)
RunList is exported.
Click to show internal directories.
Click to hide internal directories.