Search
Get Started
DT
Drizzle Team
•
3y ago
stoyko
Update number column with it's current value and new number
I need to convert this RAW sql query into a query in drizzle
, but I can
't find a way
. Anyone done something similar
?
UPDATE products SET quantity = quantity + 15 WHERE id = <my-id>;
UPDATE products SET quantity = quantity + 15 WHERE id = <my-id>;
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,794
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
UPDATE
products
SET
quantity
=
quantity
+
15
WHERE
id
=
<
my
-
id
>
;
UPDATE
products
SET
quantity
=
quantity
+
15
WHERE
id
=
<
my
-
id
>
;
Similar Threads
Update column A with the value of column B
DT
Drizzle Team / help
3y ago
How to plus 1 to the current value of a column when update
DT
Drizzle Team / help
3y ago
how can i get column's default value in runtime?
DT
Drizzle Team / help
2y ago
SQLite update at column
DT
Drizzle Team / help
2y ago