Defining the expected behavior of DatabaseStatements.execute()

Anthony Eden
Thu, 18 Jan 2007 00:43:33 -0000

It would be very helpful if the core team could define and document
the expected behavior of DatabaseStatements.execute(). The
implementations appear to vary. Most adapters will return some sort of
native result set, SQL Server returns nil and expects a block, DB2 and
Sybase return the affected row count.

So please, will someone in core explain the expected behavior and can
the execute() documentation in the DatabaseStatements module be
updated to reflect the required behavior. Thanks.

V/r
Anthony Eden

--
Cell: 808 782-5046
Current Location: Melbourne, FL