Il 02/04/2012 16:05, bussiere adrien ha scritto:
ok i thought about this too.
But when you have a long
list that's not really nice.
And it take twolines.
Summon Massimo can't we make a one line methode to do that ?
c'mon two lines are not too
I guess it can be done in one line but it would not change the logic
db.mytable http://db.mytable.id/[1] =
dict(listfield=db.mytablehttp://db.mytable.id/
[1].listfield+[newelement])
On Tuesday, 3 April 2012 03:21:26 UTC-5, Manuele wrote:
Il 02/04/2012 16:05, bussiere adrien ha scritto:
ok
Il 01/04/2012 23:23, bussiere adrien ha scritto:
ok i see the example :
db.define_table('tag',Field('name'),format='%(name)s')
db.define_table('product',
Field('name'),
Field('tags','list:reference tag'))
a=db.tag.insert(name='red')
b=db.tag.insert(name='green')
ok i thought about this too.
But when you have a long list
that's not really nice.
And it take twolines.
Summon Massimo can't we make a one line methode to do that ?
Regards and thanks
Bussiere
Le lundi 2 avril 2012 10:00:23 UTC+2, Manuele a écrit
Im curious on this as well. Also, is list:reference valid for mysql?
On Apr 1, 2012 2:23 PM, bussiere adrien bussi...@gmail.com wrote:
ok i see the example :
db.define_table('tag',Field('name'),format='%(name)s')
db.define_table('product',
Field('name'),
Not efficient in searches but supported by all backends.
On Sunday, 1 April 2012 18:30:31 UTC-5, Kenny wrote:
Im curious on this as well. Also, is list:reference valid for mysql?
On Apr 1, 2012 2:23 PM, bussiere adrien bussi...@gmail.com wrote:
ok i see the example :
6 matches
Mail list logo