macaron
macaron copied to clipboard
A simple O/R mapper for SQLite
Hi all, Using Bottle and Macaron, I try to implement a kind of sponsorship with a self-jointure on the sql table 'user' ```SQL CREATE TABLE "user" ( "id" INTEGER PRIMARY...
Sometimes, it is very convenient to use a view instead of a table. Let us imagine a page with a side block showing the 10 last twits. In your template...
Since you still seem to be maintaining this component, could you please define a broad timeline for whether and when you could support Python 3? I locally fixed #37 and...
I try to follow your read the docs but I received many error with it. Like key error team.method(that needed to properly define the field with the team class) and...
Thanks in Advance.
Macaron inserts the literal string `CURRENT_TIMESTAMP` if I declare a table with a field like this; ``` create table example( id integer primary key, timestamp datetime default CURRENT_TIMESTAMP ); ```...
I've recently used your orm. Thanks for the smart approach and supporting bottle. I want just give a feedback as a beginner who wants to quick-use it. :) For me...
Hi, `except ValidationError, e:` raise an error in python3 and i must change manually all occurrence of such code to : `except ValidationError as e:` Maybe it could be changed...
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"] ```