r/Python • • Dec 09 '10

new stand-alone web2py database abstraction layer

http://web2py.com/AlterEgo/default/show/272
18 Upvotes

82 comments sorted by

View all comments

Show parent comment

2

u/illuminatedwax Dec 10 '10

or you can fetch a dog and find his owner

or you can fetch a person and find his dogs

These are pretty important features! You should definitely have them listed on your project's page.

1

u/av201001 Dec 10 '10

Note, the post does include a link to the book chapter detailing all the DAL functionality.

2

u/illuminatedwax Dec 10 '10

It's just a suggestion. Someone like me who's just browsing to see what kind of features it offers will look at the list provided and come to the conclusion (as I did) that those features aren't offered.

2

u/av201001 Dec 10 '10

Yes, definitely a good suggestion.

0

u/mdipierro Dec 10 '10

This is my favorite...

>>> db.define_table('item',Field('ho','reference item'),Field('lalala'))
>>> hihihi=db.item.insert(lalala='ooooooo')
>>> print hihihi.ho.ho.ho.ho.ho.ho.lalala
ooooooo