Перейти к основному содержимому
Академия
Начальный Квартал кода

SQLite

Полноценная база данных в одном файле.

SQLite is a complete SQL database in a single file. There is no server to install: the engine is a small library inside the app, which is why it runs on every Android phone and iPhone, in every major web browser and in countless apps. You already know SQL from the SQL track, so this course is about what makes SQLite different: the sqlite3 shell, flexible types and STRICT tables, safe access from Python, transactions and WAL mode, indexes and query plans, JSON, and foreign keys.

Every query and program in this track was really run, and every result you see is exactly what it printed.

Уроки
14
Время
2 ч
Уровень
Начальный

Уроки этого курса пока на английском.

  • Бронза доступна
  • Серебро доступна
  • Золото закрыта

Готовы это доказать?

Вас ждут три экзамена: бронза, серебро и золото.

К экзаменам

Чему вы научитесь

  • Create and explore database files with the sqlite3 shell
  • Predict how SQLite stores each value, and use STRICT tables when types matter
  • Use SQLite from Python safely, with placeholders and transactions
  • Keep an app responsive with WAL mode, indexes and EXPLAIN QUERY PLAN
  • Query JSON, and switch on the foreign keys SQLite leaves off by default
  • Choose between SQLite and PostgreSQL for a real project

Маршрут

  1. 1
    Модуль 1

    A database in a file

    What SQLite is and where it lives, the sqlite3 shell, and how SQLite stores types.

    0 / 4
  2. 2
    Модуль 2

    SQLite in your code

    Python's sqlite3 module, transactions and WAL, query plans, JSON and foreign keys.

    0 / 6
  3. 3
    Модуль 3

    Next steps

    Full-text search, SQLite in a Flutter app, backups and schema migrations.

    0 / 4

Быстрая навигация