Search
Searches topics and replies. Every word has to appear in the post.
5 posts found.
| Post | Posted |
|---|---|
node-postgres gives you bigint columns as strings by default, for this reason. Someone will then "fix" that with parseInt. | by marta_k !izYA-5cv |
Order numbers from a new system are 17 digits. They came out of JSON.parse in the browser off by a few, so the "order not found" pages were getting ...993 turned into ...992. Number.MAX_SAFE_INTEGER is 9007199254740991, past that doubles ca… | by ines |
That's exactly it, thank you. Pasted the full command in a snippet for next time. | by Anonymous |
group_by(.error) | map({error: .[0].error, n: length}). The .[0] picks the first element of each group to read the key from. | by Anonymous |
I have a JSON array of jobs with status and error fields. I can filter to failed ones, but I want a count per distinct error message. group_by gives me arrays of arrays and I lose the key. | by Anonymous |