2015-07-04 09:21:38 -04:00
2015-07-04 09:21:38 -04:00
2015-07-04 08:53:26 -04:00
2015-05-29 09:25:39 -04:00
2015-06-19 13:10:36 -04:00
2015-06-19 13:10:41 -04:00
2015-05-28 17:21:43 -04:00
2015-07-04 08:53:26 -04:00

SQLite Version Status

The package provides an interface to SQLite.

Documentation

Example

let connection = sqlite::open(":memory:").unwrap();

connection.execute(r#"
    CREATE TABLE `users` (id INTEGER, name VARCHAR(255));
    INSERT INTO `users` (id, name) VALUES (1, 'Alice');
"#).unwrap();

connection.process("SELECT * FROM `users`;", |pairs| {
    for &(column, value) in pairs.iter() {
        println!("{} = {}", column, value.unwrap());
    }
    true
}).unwrap();

Contributing

  1. Fork the project.
  2. Implement your idea.
  3. Open a pull request.
Description
No description provided
Readme 3.5 MiB
Languages
Rust 99.3%
Shell 0.7%