Le jeudi 29 avril 2004, Dittmar, Daniel a �crit...

        bonjour,


> You have to access the 'inner' cursor object:

>     cursor = session.cursor ()
>     cursor.execute ('select * from messages')
>     innerCursor = cursor._Cursor__cursor
>     # important: read only single rows from the server
>     #            otherwise, the CURRENT OF position will be wrong
>     innerCursor.setFetchSize (1)
>     cursorName = innerCursor.cursorName ()

nice.
Thanks.

any additional doc for the SapDB_ResultSet Class ? I can't find neither
setFetchSize(), nor cursorName() methods in downloaded MaxDB documentation.
(setFetchSize() appears to be called in sapdb.dbapi within __handleResult())

-- 
jm


-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to