This example demonstrates how to create and use an encrypted SQLite database with libSQL.
pip install libsqlExecute the example:
python3 main.pyThis example will:
- Create a new table called
users. - Start a transaction.
- Insert multiple users within the transaction.
- Demonstrate how to rollback a transaction.
- Start another transaction.
- Insert more users and commit the transaction.
- Query and display the final state of the
userstable.