pq_nfieldsΒΆ
pq_nfields returns the number of columns in the query result.
-
nCols = pq_nfields(res)
Return Value
nCols is the number of columns.
Parameters
-
res
res is the res pointer returned by pq_exec.
Example
See pq_exec.
History
Version | Description |
---|---|
5.5.0 | New |
See also
id-36583