Closed huaxk closed 4 years ago
This fix is not correct, it's supposed to run at compile-time.
This fix works fine on compile-time. proc prepareStmt has no side effects beyond possibly modifying compile-time variables: sid. please refer to 'Constants and Constant Expressions' of nim manual.
Since I wrote the Nim manual, I think I know these things. However, I'm merging it now, can improve it later on my own.
fix #6 ormin_postgre.nim(34, 20) Error: undeclared identifier: 'name'