I went into shell in a new web2py directory and tried the below. 
Surprisingly, I get empty output. Any explanations?

python web2py.py -S init -M


db.define_table('entries',
Field('title', type='string'),
Field('tags', 'list:string'))

>>> db.entries.insert(title='hello',tags='one,two,three')
1

>>> t=db(db.entries.tags.contains('one')).select()
>>> t.as_list()
[]

Reply via email to