Difference between revisions of "OpenDBX/C API/odbx column count"

From Linuxnetworks
< OpenDBX‎ | C API
Jump to: navigation, search
(removed spam)
(Description:)
Line 6: Line 6:
 
= Description: =
 
= Description: =
  
Returns the number of columns of the current result set.
+
Returns the number of columns of the current result set allocated by [[OpenDBX_result|odbx_result()]]. The number of columns doesn't change within a result set.
  
 
= Parameters: =
 
= Parameters: =

Revision as of 12:53, 5 June 2006


unsigned long odbx_column_count(
    odbx_result_t* result )

Description:

Returns the number of columns of the current result set allocated by odbx_result(). The number of columns doesn't change within a result set.

Parameters:

  • result: Object created by odbx_result()

Return values:

  • Number of fields returned by the last query

Errors:

  • None



Back to Overview