On Thu, Jan 15, 2009 at 14:27, gvv <[email protected]> wrote:

> How  can I get  Field Attributes ?
>
> ie.
> class User(Entity):
>      Name = Field(String(30))
>
> I need to know the max_length of User.Name and

User.table.columns['Name'].type.length

> if from legacy database it's column label (from the database column
> comments)

I don't understand what you mean here. Could you provide an example?

-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to