Hi,

Is there a way to use autoincrement in axiom ? I need a property in my model
that reflects the last  row id after every insert operation. Also, is it
safe to use non-db variables in axiom model ? something like

class test1(Item):
  name = attributes.text()

  surname = "my non db variable"

The interpretor does throw an error but that can be overcome by using
self.__dict__['surname'] = "non db" . Just wanted to know if this is
recommended or not

sorry, if this' already been answered; i did search but couldn't find the
answer.

Thanks
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to