mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
gh-94635: Add sqlite3 'Introduction' and 'Tutorial' doc headings (#95269)
This commit is contained in:
parent
47e75a0025
commit
2e35a13e46
1 changed files with 11 additions and 1 deletions
|
@ -8,7 +8,11 @@
|
||||||
|
|
||||||
**Source code:** :source:`Lib/sqlite3/`
|
**Source code:** :source:`Lib/sqlite3/`
|
||||||
|
|
||||||
--------------
|
|
||||||
|
.. _sqlite3-intro:
|
||||||
|
|
||||||
|
Introduction
|
||||||
|
------------
|
||||||
|
|
||||||
SQLite is a C library that provides a lightweight disk-based database that
|
SQLite is a C library that provides a lightweight disk-based database that
|
||||||
doesn't require a separate server process and allows accessing the database
|
doesn't require a separate server process and allows accessing the database
|
||||||
|
@ -21,6 +25,12 @@ The sqlite3 module was written by Gerhard Häring. It provides an SQL interface
|
||||||
compliant with the DB-API 2.0 specification described by :pep:`249`, and
|
compliant with the DB-API 2.0 specification described by :pep:`249`, and
|
||||||
requires SQLite 3.7.15 or newer.
|
requires SQLite 3.7.15 or newer.
|
||||||
|
|
||||||
|
|
||||||
|
.. _sqlite3-tutorial:
|
||||||
|
|
||||||
|
Tutorial
|
||||||
|
--------
|
||||||
|
|
||||||
To use the module, start by creating a :class:`Connection` object that
|
To use the module, start by creating a :class:`Connection` object that
|
||||||
represents the database. Here the data will be stored in the
|
represents the database. Here the data will be stored in the
|
||||||
:file:`example.db` file::
|
:file:`example.db` file::
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue