You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry about the lack of documentation... you should be able to access the total count via data.total and the raw JSON via data.json. The returned object's prototype is extended to have these properties here:
As part of the prototype, the properties aren't enumerated when printed to console. Using __proto__ may not work in all browsers (e.g. IE), but works in Node.js and V8.
This was a convenience pattern borrowed from Cradle.
I have considered setting the properties directly on the result array or just returning the raw data, depending on how people use the library.
Im not able to find any documentation for this anywhere. Im trying to get sage to return the full raw data because I want the match count.
The text was updated successfully, but these errors were encountered: