DT
Drizzle Teamrushil1o1
updatedAt timestamp update on DB row update
Whats the best way to update Postgres values for
updatedAt
--- I'm assuming there's a drizzle helper ? Can't find anythingI
ivanfeliciano•261d ago
No support for it yet, https://github.com/drizzle-team/drizzle-orm/issues/956
GitHub
[FEATURE]: Prisma's
updatedAt
behavior. onUpdate
API suggestion...Describe what you want Prisma has awesome feature such as declaring a column with @updatedAt which updates that column with a new timestamp every time the record updates. Instead of suggesting to a...
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
7.2KMembers
View on DiscordWant results from more Discord servers?
More PostsIssue with diverging responses via RDS Wrapper on rawSQL query.We've recently noticed that we're getting the raw response from RDS Aurora when doing a raw query. TConditional findFirstIs it possible to conditionally use findFirst, rather than having to chain the underlying model.
E.Relational Queries: How to query based on the value of a joined table?I have a table posts, where each post has a uid. I use relational queries to perform a join of the uInvert a boolean easily?In SQL you can do
```
UPDATE my_table SET is_active = NOT is_active;
```
Is there a similiar synta