What is limited in SQLite support? #624
-
Database Support section in the docs states that SQLite support is limite in Piccolo. Could someone please clarify what exactly is limited in comparison with Postgres? I want to implement a basic desktop software in Python so using SQLite is somewhat natural in my case so I want to know if I still can use Piccolo. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @dmi-dmi-dmi Almost all features are available for SQLite. The main limitation is Piccolo's migrations. SQLite has very limited So when you're creating your database tables, you'll have to write a script to do it manually. Something like this: from piccolo.table import create_db_tables_sync
create_db_tables_sync(TableA, TableB, TableC) The docs are available here. |
Beta Was this translation helpful? Give feedback.
Hi @dmi-dmi-dmi
Almost all features are available for SQLite. The main limitation is Piccolo's migrations. SQLite has very limited
ALTER TABLE
support, which makes it hard for us to support it with migrations in Piccolo.So when you're creating your database tables, you'll have to write a script to do it manually. Something like this:
The docs are available here.