- Notifications
You must be signed in to change notification settings - Fork0
ungana/sqlx-sqlite-database-connection
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is an example of usingSQLx withSQLite. It doesn't do too much, but it you can see a simple example of how to setup your project to use the two together.
You will needRust,SQLite(if your operating system does not already have it) and theSQLx CLI. Once installed, navigate to this cloned project in the terminal and run:
cargo run
This project simply adds "John Doe" to anexample.db
file. You can see the additions using theSQLite app of your choice and checking theUsers
table.
SELECT*FROM Users;
About
An example project showing how to use SQLx and SQLite together in a Rust project.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.