Nobuo Okazaki
Nobuo Okazaki
In case of cloning repository by using git-1.7.1, the server returns 500 error. This seems an issue of git client. In git-1.7.1, git provides user name directly to server. For...
Empty Q() object will causes SQL syntax error. ``` python q = Q() User.select(q) ``` This means "SELECT \* FROM user WHERE (())" in SQL. In case of empty Q...
Like this. ``` for rec in Member.all().fields("name"): print rec["name"] ```
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...
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?