Re:Supabase Storage: now supports the S3 protocol
by kiwicopple on Saturday April 20, 2024 @06:21AM
(#40096222)
> mapping JS entities using the JS DB API makes it hard to use camelcase field names due to PG reasons I can't recall
Postgres requires you to "quoteCamelCase". There are some good JS libs to map between snake case and camel case. FWIW, I like a mix of both in my code: snake_case indicates it's a database property, and camelCase indicates its a JS property. Try it out - it might grow on you :)
My only real qualm at this point is mapping JS entities using the JS DB API makes it hard to use camelcase field names due to PG reasons I can't recall. I'm not sure what a fix for that would look like.
Keep up the good work.