I have a table which contains the tablenames and table meta-data. This
table is used for defining the table programmatically.
A table per time sequence is needed because I want to have security levels
on those table devided in view and edit.
Sorry , but I do not understand your idea for the timesequence table.
On Tuesday, September 23, 2014 2:26:23 PM UTC+2, Leonel Câmara wrote:
>
> I still don't see the need for dynamic tables. Why do timesequences need
> to be dynamic tables? Where do you store the table definitions for the
> dynamically created tables?
>
> It's a huge mess to go at it that way.
>
>
> Couldn't this suffice?
>
> db.define_table('timesequence',
> Field('sort_position', 'integer'),
> Field('parent_id', 'reference timesequence'),
> Field('name'),
> )
>
> This way you have timesequences which may have any number of children
> timesequences which are ordered.
>
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.