Hi all,
How do I create two tables that both refer to each other? Here's a
simple example:
db.define_table(
'item',
Field('current_alias', 'db.item_alias')
)
db.define_table(
'item_alias',
Field('name'),
Field('item', 'db.item')
)
This throws
"SyntaxError: Field: u
On Aug 10, 2010, at 10:55 AM, Oatman wrote:
> Hi all,
>
> How do I create two tables that both refer to each other? Here's a
> simple example:
>
> db.define_table(
>'item',
>Field('current_alias', 'db.item_alias')
>)
>
> db.define_table(
>'item_alias',
>Field('name'),
>F
2 matches
Mail list logo