On Thu, Jun 26, 2008 at 9:09 AM, alex bodnaru <[EMAIL PROTECTED]> wrote:
> i'd like to append some entity level info, such as the permission needed to > insert new rows. > > it would be wonderful indeed to make this through to the rdbms permissions > level, too. > > i'd like to ask, where should i put this information (an elixir extension will > be the way to put it there). Strange question... An entity being just a class, you can put that information anywhere (read in any attribute) you like. Just make up a name (different from "_descriptor", which is what Elixir uses for internal stuff) and put that in there. If you want information at the Column/Field level, you can use the "info" kwarg to your Fields, which is meant for that... See: http://www.sqlalchemy.org/docs/05/sqlalchemy_schema.html#docstrings_sqlalchemy.schema_Column -- Gaƫtan de Menten http://openhex.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLElixir" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlelixir?hl=en -~----------~----~----~----~------~----~------~--~---
