This is the implementation of the SQLite data handler for MindsDB. SQLite is an in-process library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. The code for SQLite is in the public domain and is thus free to use for either commercial or private purpose. SQLite is the most widely deployed database in the world with more applications than we can count, including several high-profile projects.Documentation Index
Fetch the complete documentation index at: https://docs.mindsdb.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or Docker Desktop.
- To connect SQLite to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to SQLite.
Implementation
This handler is implemented using the standardsqlite3 library that comes with Python.
The only required argument to establish a connection is db_file that points to the database file that the connection is to be made to.
Optionally, this may also be set to :memory: to create an in-memory database.