pyArango icon indicating copy to clipboard operation
pyArango copied to clipboard

fullCount not working on fetchByExample() (SimpleQuery)

Open dovivi opened this issue 5 years ago • 0 comments

Hi, I just realized that fullCount does not work on fetchByExample() which uses SimpleQuery. Apparently it only works on AQLQuery. I tried with both fullCount = True, or options={"fullCount": True} but none of them returned the fullCount value (within extra.stats from the query result) What I tried:

mycollection.fetchByExample(example_dict, limit=10, skip=0, fullCount=True)

and

mycollection.fetchByExample(example_dict, limit=10, skip=0, options={"fullCount": True})

limit and skip seem to work (also the count when I use it) I'd really like to be able to get it with the fetchByExample function, is there any possibility? For information: I'm using ArangoDB 3.4.9 and pyArango 1.3.4 Thanks!

dovivi avatar May 26 '20 12:05 dovivi