sql-param-0.1.0 is not a library.
A tool for automatically replacing sql placeholders.
Install
Usage
;
)))
;
A tool for automatically replacing sql placeholders.
cargo install sql-param
$ sql-param
Please input sql with placeholders.
select * from user where username = ? and email = ? and age = ? and married = ?;
Please input sql value.
zhangsan(String), null, 18(Integer), 1(Integer)
select * from user where username = 'zhangsan' and email = null and age = 18 and married = 1;