Hello,
Suppose I have something like (this is pseudo code) :
<pseudocode>
class Person(Entity):
name = Field(Unicode)
city = ManyToOne("City")
</pseudocode>
I wish to have something like :
>> Person.get_attr_names()
["name","city"]
I don't want to have "city_id" in this list.
What is the advised way to implement this classmethod ?
Thanks in advance.
--
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.