macaron
macaron copied to clipboard
A simple O/R mapper for SQLite
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...
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...
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...
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.
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...
Is this essential?