If you’re returning the value straight from an api endpoint (which it looks like you are, error 99 is set by the output handler), cjson is likely choking on the objectID and timestamp from mongo. Pager runs the result through the parseDoc function, while find does not.
Try iterating your table and strip out the _id+_ts fields before returning it.
Yes when I looked at the source code for pager and get_pairs they basically do a find command but the pager parses the docs where as get_paisr doesn’t, I figured that either it was intentional or needed fixing, I didn’t have any more time this morning, but by the looks like you fixed it.
If you’re returning the value straight from an api endpoint (which it looks like you are, error 99 is set by the output handler), cjson is likely choking on the objectID and timestamp from mongo. Pager runs the result through the parseDoc function, while find does not.
Try iterating your table and strip out the _id+_ts fields before returning it.
Yes when I looked at the source code for pager and get_pairs they basically do a find command but the pager parses the docs where as get_paisr doesn’t, I figured that either it was intentional or needed fixing, I didn’t have any more time this morning, but by the looks like you fixed it.