Martin Carlsson
Martin Carlsson
Explore posts from servers
DTDrizzle Team
Created by Martin Carlsson on 4/9/2024 in #help
Is relationships only for .findMany() and .findFirst()
Is it correctly understood that relationships only works with .findMany() and .findFirst() and not with select, insert, update, and delete? In the documentation, that is the only examples I can find https://orm.drizzle.team/docs/rqb#declaring-relations
3 replies
CDCloudflare Developers
Created by Martin Carlsson on 4/6/2024 in #pages-help
Sanitise HTML
I need to sanitise some html to protect against XSS. However cloudflare pages doesn't allow for dompurify, isomorphic-dompurify, or sanitize-html. Do I have other options?
1 replies
DTDrizzle Team
Created by Martin Carlsson on 3/28/2024 in #help
[object Object] on custom type
No description
3 replies
CDCloudflare Developers
Created by Martin Carlsson on 1/26/2024 in #general-help
Connection information to D1?
Where do I find connection information to D1? I'm considering using D1 as the backend database for a new application. One requirement is that the data stored in D1 can be moved in to our data warehouse on a scheduled basis. Where do I find the connection information for D1?
4 replies