piccolo
piccolo copied to clipboard
A fast, user friendly ORM and query builder which supports asyncio.
Resolves https://github.com/piccolo-orm/piccolo/issues/945
The way we store arrays in SQLite is by converting the values to JSON strings, and then storing them in a text field. We have this function which converts list...
I'm facing circular import when I use LazyTableReference with app_name, please check the attached video below: https://github.com/piccolo-orm/piccolo/assets/19409912/d445e3c3-f24c-45ba-8578-ccf084e8b010
I need to lock an object in the database in order to prevent other transactions from modifying the same record. Within the Postgres such a lock should be done using...
Hi Guys: I am a new fan of piccolo.. Thanks for the hard work.. I wonder if there is any plan to support "surrealdb"?
FEATURE REQUEST: Is it a problem to add reverse relation fetching (conceptual or technical)? It would be nice to see something like that: ```python class Student(Table, tablename="students"): name = Varchar(length=64)...
hello all, Assume we have a simple `Post` table: ```python from piccolo.columns import * class Post(Table): uuid = UUID(primary_key=True) user = ForeignKey(User, null=False) description = Text() users_mentioned = Array(UUID()) ```...
So I have this two tables in postgres: ```python from piccolo.columns import * from piccolo.table import Table class EmployeeRole(Table): name = Varchar() class Employee(Table): name = Varchar() role = ForeignKey(EmployeeRole,...
## Summary Database: PostgreSQL 16 Version: 1.17.0 UUID columns generated by running `piccolo schema generate` have incorrect default values. This appears to be because `piccolo.columns.column_types.UUID` assumes that UUID columns with...