On Wed, Dec 24, 2008 at 09:21:12AM -0500, inhahe wrote:
> Hello, can somebody tell me how to delete a record using SQLObject?
row.destroySelf()
table.delete(id) # table is an SQLObject class
table.deleteMany(condition) # condition is an SQLBuilder expression
Oleg.
--
Oleg Broytmann
Hello, can somebody tell me how to delete a record using SQLObject?
I don't see it in the documentation. Do I have to use SQL?h
--
___
sqlobject-discuss mailing list
sqlobject-d
On Sun, Apr 02, 2006 at 11:37:47PM +0200, sophana wrote:
> Can I just ask another silly question?
Sure. (-:
> Where is all this documented?
In the code.
> I've been looking on the website, and the
> sqlbuilder doc is a little bit 'light'. I don't event know what it is for...
It is th
Oleg Broytmann wrote:
On Sun, Apr 02, 2006 at 01:03:34PM +0200, sophana wrote:
What about destroying a whole selection at the transaction level
(without python iteration)?
from sqlobject.sqlbuilder import Delete
connection.query(connection.sqlrepr(Delete(MyTable.sqlmeta.table, MyTable
On Sun, Apr 02, 2006 at 01:03:34PM +0200, sophana wrote:
> What about destroying a whole selection at the transaction level
> (without python iteration)?
from sqlobject.sqlbuilder import Delete
connection.query(connection.sqlrepr(Delete(MyTable.sqlmeta.table,
MyTable.q.name == "value")))
Oleg.
Oleg Broytmann wrote:
On Sat, Apr 01, 2006 at 12:14:16PM -0500, David Geller wrote:
How do you use sqlobject to delete a record?
.destroySelf()
Oleg.
What about destroying a whole selection at the transaction level
(without python iteration)?
Hi all -
Simple question:
How do you use sqlobject to delete a record?
Thanks!
David Geller
---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live
On Sat, Apr 01, 2006 at 12:14:16PM -0500, David Geller wrote:
> How do you use sqlobject to delete a record?
.destroySelf()
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
--