macaron icon indicating copy to clipboard operation
macaron copied to clipboard

A simple O/R mapper for SQLite

Results 17 macaron issues
Sort by recently updated
recently updated
newest added

Q object, may likes Django's one, has been introduced. @1fb3f1dc575e4b3ce3dd71198023cd2a774b7cbf It enables this. ``` members = Member.select(Q(name="Fortune") | Q(group__name="Happiness Charge")) ``` This will be converted into this SQL. ``` SELECT...

Enhancement

Hi, There is a way to store data in sqlite. See : http://stackoverflow.com/questions/198692/can-i-pickle-a-python-dictionary-into-a-sqlite3-text-field So it would be nice to have a class to store it, and also raw data (JSON...

Enhancement

This is draft for 0.4.0. ## 0.4.0 - Class properties of Model - _unique_together -- UNIQUE clause in table definition - _ordering -- Default ordering - ManyToMany support - ManyToManyField...

For aggrigation, QuerySet.group_by() will be implemented.

Enhancement

Details of Field class will be prepared in the document. ManyToMany, which is a Field class to make many-to-many relationships, should be described in the document.

Need doc

In the current implementation, constraints are actualized using with validation method of `Field` class. However, CHECK constraint is reasonable and general way on databases. Validating value to set will be...