field declaration preferences

1 view
Skip to first unread message

anderbubble

unread,
May 29, 2007, 1:02:52 PM5/29/07
to SQLElixir
I really appreciate the work being done on Elixir, especially as it
helps me migrate from SQLObject to SQLAlchemy.

The tutorial asks what way uses prefer for field declaration
(with_fields vs has_field). Of those two, I definitely prefer
"has_field". I defer to the python principle "flat is better than
nested." Still, I don't understand why field declaration cannot work
like it does in SQLObject. I'm not saying that the Elixir API should
be a clone of SQLObject's, but the attribute = Type paradigm seems
quite clear.

Ben Bangert

unread,
May 29, 2007, 1:06:48 PM5/29/07
to SQLElixir

I agree, I suggested that at the bottom of my other post here about
the Statement API as well since it'd help separate out additional
functionality provided by Elixir Statements.

- Ben

Reply all
Reply to author
Forward
0 new messages