Skip to content

ungana/sqlx-sqlite-database-connection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQLx with SQLite Example

This is an example of using SQLx with SQLite. 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.

Getting Started

You will need Rust, SQLite(if your operating system does not already have it) and the SQLx CLI. Once installed, navigate to this cloned project in the terminal and run:

cargo run

This project simply adds "John Doe" to an example.db file. You can see the additions using the SQLite app of your choice and checking the Users table.

SELECT * FROM Users;

About

An example project showing how to use SQLx and SQLite together in a Rust project.

Topics

Resources

Stars

Watchers

Forks

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy