TKR👑
DTDrizzle Team
•Created by TKR👑 on 2/23/2024 in #help
Check if sql query is empty
Solved by not assigning
locationSqlClause
unless necessary and checking using if != undefined
... linter cries a bit but works2 replies
DTDrizzle Team
•Created by volks on 5/6/2023 in #help
Custom Type interpreted as String
For future readers. I solved by using
sql.raw()
as I think the regular sql
template was causing trouble with how it passes values around (as part of injection protection).
I am safe architecturally. Here is the final change I made to my toDriver
definition if you need it. Above code stayed the same.
73 replies
DTDrizzle Team
•Created by volks on 5/6/2023 in #help
Custom Type interpreted as String
any ideas on this? @Dan Kochetov ?
73 replies
DTDrizzle Team
•Created by volks on 5/6/2023 in #help
Custom Type interpreted as String
I am using PostGIS on a PostgreSQL engine Aurora db. I simply ran the following command to support this newly needed column:
73 replies
DTDrizzle Team
•Created by volks on 5/6/2023 in #help
Custom Type interpreted as String
(parameter 6 is the coordinates in my schema, but I have redacted my other columns to keep my example simple above)
73 replies
DTDrizzle Team
•Created by volks on 5/6/2023 in #help
Custom Type interpreted as String
What am I missing here? I keep getting the error:
PostgresError: could not determine data type of parameter $6\
73 replies
DTDrizzle Team
•Created by volks on 5/6/2023 in #help
Custom Type interpreted as String
Please help! This is such a pain in the ass and I need to launch!
coordinateType.ts
then I use this in my schema.ts
as follows:
and trying to make a simple request in my node application:
73 replies
CDCloudflare Developers
•Created by Hugo on 1/25/2023 in #workers-help
Unable to use aws-sdk in production
SOLVED: this was concerning sync & async programming. Moving the part of my flow using the above API method to use synchronous logic fixed my issues when deployed. Strange there was no similar errors locally but understandable in retrospect.
4 replies
CDCloudflare Developers
•Created by Hugo on 1/25/2023 in #workers-help
Unable to use aws-sdk in production
is this still the case? having a similar issue but the only command failing is
AdminAddUserToGroup
using the Cognito provider from the SDK. Should I pivot to using aws4fetch
4 replies
CDCloudflare Developers
•Created by TKR👑 on 3/5/2023 in #functions
Pages Functions with SvelteKit
Ignore, I did not see this: https://developers.cloudflare.com/pages/framework-guides/deploy-a-svelte-site/#functions-setup
1 replies