Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
const_cast
8mo ago
0 comments
Share
I think instead of performing an INSERT you call a stored proc that does the insert and some extra stuff.
0 comments
default
newest
oldest
shivasaxena
8mo ago
Yes, we already have all of our business logic in postgres functions(create_order, create_partial_payment etc).
Doing the extra work in stored procedures is noticeably faster than relying on triggers.
j
/
k
navigate · click thread line to collapse