added sql_rewind
This commit is contained in:
parent
5d6d0282b0
commit
359b7e25dd
@ -61,6 +61,7 @@ native Handle:SQL_Connect(Handle:cn_tuple, &errcode, error[], maxlength);
|
|||||||
*/
|
*/
|
||||||
native Handle:SQL_PrepareQuery(Handle:db, const fmt[], {Float,_}:...);
|
native Handle:SQL_PrepareQuery(Handle:db, const fmt[], {Float,_}:...);
|
||||||
|
|
||||||
|
|
||||||
#define TQUERY_CONNECT_FAILED -2
|
#define TQUERY_CONNECT_FAILED -2
|
||||||
#define TQUERY_QUERY_FAILED -1
|
#define TQUERY_QUERY_FAILED -1
|
||||||
#define TQUERY_SUCCESS 0
|
#define TQUERY_SUCCESS 0
|
||||||
@ -176,6 +177,12 @@ native SQL_FieldNumToName(Handle:query, num, name[], maxlength);
|
|||||||
native SQL_FieldNameToNum(Handle:query, const name[]);
|
native SQL_FieldNameToNum(Handle:query, const name[]);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rewinds a result set to the first row.
|
||||||
|
*/
|
||||||
|
native SQL_Rewind(Handle:query);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the insert id of the last INSERT query.
|
* Returns the insert id of the last INSERT query.
|
||||||
* Returns 0 otherwise.
|
* Returns 0 otherwise.
|
||||||
|
Loading…
Reference in New Issue
Block a user