cal
Explore posts from serversDTDrizzle Team
•Created by nk on 1/29/2024 in #help
Dynamic select with types?
yeah this is definitely a valid pattern. I was just looking into the patter OP posted for a usecase where I would select users accounts with sensitive data and wanted to create something like
your approach would be to create
-
unsecureUser
- user
in the interface and the some wrapper like
user(id, unsecure)
is that correct?16 replies
DTDrizzle Team
•Created by nk on 1/29/2024 in #help
Dynamic select with types?
what do you dislike about it?
16 replies
DTDrizzle Team
•Created by cal on 10/25/2023 in #help
`sql.join` with `ODER BY` leads to syntax error while the sql query seems correct.
The problem was not using
sql.raw
on the join
separator:
this is the correct code to achieve what I want to do:
6 replies
DTDrizzle Team
•Created by cal on 10/25/2023 in #help
`sql.join` with `ODER BY` leads to syntax error while the sql query seems correct.
sql.join
seems to be the cause for the problem here:
if I use
this results in a query of
and a successful db query6 replies
DTDrizzle Team
•Created by cal on 10/25/2023 in #help
`sql.join` with `ODER BY` leads to syntax error while the sql query seems correct.
this results in
with the following error:
syntax error at or near \"nulls\"
🤔6 replies