[pygr-notify] Issue 71 in pygr: Support write operations to SQL databases
codesite-noreply at google.com
codesite-noreply at google.com
Wed Mar 4 17:10:17 PST 2009
Updates:
Cc: -marecki
Comment #1 on issue 71 by cjlee112: Support write operations to SQL
databases
http://code.google.com/p/pygr/issues/detail?id=71
Hi Jenny,
write support has been added to SQLTable and its ilk; you just pass the
argument
writeable=True to make the SQLTable interface read-write. I will try to add
documentation on the basic write operations:
- SQLTable.new(**kwargs): creates a new row object, initialized with the
arguments
specified in kwargs.
- SQLTable[new_id] = obj: changes the ID of an existing obj from the
database
- obj.attr = new_value: changes an attribute of an existing obj from the
database
- del SQLTable[obj_id]: delete the specified object from the database
Once I send you the updated documentation, perhaps you could test the new
write support?
-- Chris
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
More information about the pygr-notify
mailing list