KipData / FnckSQL

SQL as a Function for Rust
Apache License 2.0
567 stars 48 forks source link

Feat/prepare statment #249

Closed KKould closed 1 week ago

KKould commented 1 week ago

What problem does this PR solve?

https://en.wikipedia.org/wiki/Prepared_statement

let statement = fnck_sql.prepare("select * from t1 where b > ?1")?;

let (_, tuples) = fnck_sql.execute(&statement, vec![("?1", DataValue::Int32(Some(0)))])?;

Code changes

Check List

Tests

Side effects

Note for reviewer