Marius A

Results 134 comments of Marius A

So this entire module can't be used for `JSON.stringify(obj)` ?

Thanks! So there are 3 npm modules for JSON support in assemblyscript (rather than being built-in) https://www.npmjs.com/package/assemblyscript-json https://www.npmjs.com/package/json-as https://www.npmjs.com/package/@serial-as/json What a mess :(

Thanks again! Saw that `json-as` requires a class defined for each object property. Does `serial-as` too? (feel free to answer in https://github.com/gagdiez/serial-as/issues/38 )

+1 because on update one can't use column aliases. I have to put a column alias for autocomplete to work, write the query, then remove aliases to run it.

Thanks for the `stringify` workaround! How could run this other query? `stringify` doesn't work in this case: `SELECT * FROM product where tags ?| ARRAY['tag1', 'tag2'];` I tried `await pgclient.query(`SELECT...

> I'm definitely cool with promisifying the cursor @brianc could this be included, please? It would enable the example given by @charmander , out of the box, and close this...

Looks so. I'll be able to test in 2 weeks. Thanks

> cursor.read() already returns Promise if no callback supplied. This is correct, works fine. This issue can be closed.

How about forcing a maximum width or height? eg maximum width is 300, but users could upload 200x100 (optional crop), or 1000x800 -- in this case crop would be forced...