for postgresql (performance improve) , should use prepared statement
Opened this issue · 0 comments
digoal commented
for postgresql (performance improve), should use prepared statement, exp:
prepare p1(int) as select * from tbl where id=$1;
execute p1(:id);
...