Better size reporting
This commit is contained in:
parent
102b3d7ef5
commit
6201e709ef
3 changed files with 22 additions and 8 deletions
|
|
@ -380,7 +380,7 @@ func (qs *QuadStore) Type() string {
|
|||
return QuadStoreType
|
||||
}
|
||||
|
||||
func (qs *QuadStore) getSize(collection string, constraint *bson.M) (int64, error) {
|
||||
func (qs *QuadStore) getSize(collection string, constraint bson.M) (int64, error) {
|
||||
var size int
|
||||
var err error
|
||||
bytes, err := bson.Marshal(constraint)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue