Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

SQLite for Rust

Pragmatic AI Labs via Coursera

Overview

Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Use SQLite from Rust to build production-grade data tooling — the embedded, single-file SQL engine that ships in every Android phone, every iOS device, and most web browsers. You'll start with the basics of SQLite as a serverless library, then drive it from Rust with the rusqlite crate: opening file-backed and in-memory databases, running INSERT, SELECT, UPDATE, DELETE through prepared statements, and surfacing errors as `Result` rather than swallowing them. Module 2 turns the database into a real ETL stage: stream CSV with the csv crate and serde, ingest JSON with serde_json into typed columns or JSON1 blobs, and round-trip data back out as exports or full SQL dumps. The capstone builds **fscrawl** — a clap v4-driven CLI that walks a directory, upserts file metadata into SQLite, and exposes crawl, query, export, and db-dump subcommands. By the end you can ship a typed, transactional, embedded-SQL CLI tool from a single Rust binary.e.g. This is primarily aimed at first- and second-year undergraduates interested in engineering or science, along with high school students and professionals with an interest in programming.

Syllabus

  • SQLite Foundations
    • Covers what this course covers, prerequisites, how to follow along, embedded vs client-server, and SQLite's role in data engineering.
  • Data Ingestion and Export
    • Covers the csv crate + serde, bulk inserts, what we will build, csv::Reader::from_path, and deserialize::().
  • Building the CLI Project
    • Covers what fscrawl will do, the layering, designing for testability, #[derive(Parser)], and subcommand enum.

Taught by

Noah Gift and Alfredo Deza

Reviews

Start your review of SQLite for Rust

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.