creole.drivers.mssql
[ class tree: creole.drivers.mssql ] [ index: creole.drivers.mssql ] [ all elements ]

Class: MSSQLResultSet

Source Location: /creole/drivers/mssql/MSSQLResultSet.php

Class Overview

ResultSetCommon
   |
   --MSSQLResultSet

MSSQL implementation of ResultSet.


Author(s):

Version:

  • $Revision: 1.20 $

Methods


Inherited Variables

Inherited Methods


Class Details

[line 36]
MSSQL implementation of ResultSet.

MS SQL does not support LIMIT or OFFSET natively so the methods in here need to perform some adjustments and extra checking to make sure that this behaves the same as RDBMS drivers using native OFFSET/LIMIT.




Tags:

version:  $Revision: 1.20 $
author:  Hans Lellelid <hans@xmpl.org>


[ Top ]


Class Methods


method close [line 150]

void close( )



Tags:



[ Top ]

method getRecordCount [line 136]

void getRecordCount( )



Tags:



[ Top ]

method next [line 104]

void next( )



Tags:



[ Top ]

method seek [line 80]

void seek( mixed $rownum)



Tags:



[ Top ]

method _setLimit [line 72]

void _setLimit( int $limit)

This MSSQL-only function exists to set limit after ResultSet is instantiated.

This function should be "protected" in Java sense: only available to classes in package. THIS METHOD SHOULD NOT BE CALLED BY ANYTHING EXCEPTION DRIVER CLASSES.




Tags:

access:  public


Parameters:

int   $limit   New limit.

[ Top ]

method _setOffset [line 57]

void _setOffset( int $offset)

This MSSQL-only function exists to set offset after ResultSet is instantiated.

This function should be "protected" in Java sense: only available to classes in package. THIS METHOD SHOULD NOT BE CALLED BY ANYTHING EXCEPTION DRIVER CLASSES.




Tags:

access:  public


Parameters:

int   $offset   New offset. If great than 0, then seek(0) will be called to move cursor.

[ Top ]


Documentation generated on Mon, 23 Aug 2004 21:51:42 -0400 by phpDocumentor 1.3.0RC3