little_pger icon indicating copy to clipboard operation
little_pger copied to clipboard

🐘 PostgreSQL query building with plain data structures.

Results 3 little_pger issues
Sort by recently updated
recently updated
newest added

The `to_commit` field is not used anywhere but the commit(), \_\_enter__() and \_\_exit__() methods. Is this expected behaviour? I would assume that to_commit should be set to True in the...

If we have a table with a composite primary key: ```sql CREATE TABLE items ( x INT, y INT, value INT, PRIMARY KEY (x, y) ); ``` `pg.upsert('items', values={'x': 1,...

Why this line is commented ? https://github.com/cjauvin/little_pger/blob/master/little_pger.py#L204