2026-02-06 06:59:34 +03:00
|
|
|
# SQLite for Delphi and FreePascal / Lazarus
|
2012-10-06 00:44:14 +07:00
|
|
|
|
2026-02-06 06:59:34 +03:00
|
|
|
SQLite is a software library that implements a self-contained,
|
|
|
|
|
serverless, zero-configuration, transactional SQL database engine.
|
|
|
|
|
The source code for SQLite is in the public domain and is thus free
|
|
|
|
|
for use for any purpose, commercial or private.
|
|
|
|
|
SQLite is the most widely deployed SQL database engine in the world.
|
2012-10-06 00:44:14 +07:00
|
|
|
|
2026-02-06 06:59:34 +03:00
|
|
|
This package contains a complete SQLite API translation for Delphi and FreePascal / Lazarus,
|
|
|
|
|
as well as a simple Unicode-enabled object wrapper to simplify working with the database engine.
|
2012-10-06 00:44:14 +07:00
|
|
|
|
2016-01-29 23:47:56 +06:00
|
|
|
## Compatibility
|
2013-10-09 01:53:31 +07:00
|
|
|
|
2026-02-06 06:59:34 +03:00
|
|
|
- Delphi 7 and later
|
|
|
|
|
- FreePascal / Lazarus
|
2012-10-06 00:44:14 +07:00
|
|
|
|
2026-02-06 06:59:34 +03:00
|
|
|
## Installation
|
2012-10-06 00:44:14 +07:00
|
|
|
|
2026-02-06 06:59:34 +03:00
|
|
|
1. Unzip the package to a directory of your choice.
|
|
|
|
|
2. Add the **Source** directory to your IDE or project settings:
|
|
|
|
|
- **Delphi**:
|
|
|
|
|
- **Global**: Add the path to *Library path* in the environment options.
|
|
|
|
|
- **Project-specific**: Add the path to *Search path* in *Project Options*.
|
|
|
|
|
- **Lazarus**:
|
|
|
|
|
- **Global**: Add the path to *Additional source search path for all projects* in the IDE options.
|
|
|
|
|
- **Project-specific**: Add the path to *Other unit files* in *Project Options > Compiler Options*.
|
2012-10-06 00:44:14 +07:00
|
|
|
|
2026-02-06 06:59:34 +03:00
|
|
|
## Usage
|
2016-01-30 00:00:37 +06:00
|
|
|
|
2026-02-06 06:59:34 +03:00
|
|
|
To use the SQLite API directly, add the `SQLite3` unit to your `uses` clause.
|
|
|
|
|
If you prefer working with the object wrapper, use the `SQLite3Wrap` unit.
|
2012-10-06 00:44:14 +07:00
|
|
|
|
2026-02-06 06:59:34 +03:00
|
|
|
Make sure to distribute the appropriate shared library
|
|
|
|
|
(**sqlite3.dll** for Windows, **sqlite3.so** for Linux, etc.)
|
|
|
|
|
along with your executable.
|
2012-10-06 00:44:14 +07:00
|
|
|
|
2016-01-29 23:47:56 +06:00
|
|
|
## Credits
|
|
|
|
|
|
2026-02-06 06:59:34 +03:00
|
|
|
- [Yuri Plashenkov](https://github.com/plashenkov) — developer
|
|
|
|
|
- [Marek Mauder](https://github.com/galfar) — contributor
|
|
|
|
|
- [Alexander Kotliarskyi](https://github.com/frantic) — contributor
|
2012-10-06 00:44:14 +07:00
|
|
|
|
2016-01-29 23:47:56 +06:00
|
|
|
## License
|
2013-10-09 01:53:31 +07:00
|
|
|
|
2026-02-06 06:59:34 +03:00
|
|
|
This package is licensed under the [MIT License](LICENSE.md).
|