added request at19456

This commit is contained in:
Borja Ferrer 2005-12-07 00:13:13 +00:00
parent d55bffede6
commit 5d5d1e1a7c

View File

@ -47,6 +47,12 @@ native Sql:dbi_connect(_host[], _user[], _pass[], _dbname[], _error[]="", _maxle
*/
native Result:dbi_query(Sql:_sql, _query[], {Float,_}:...);
/* Has the same usage as dbi_query, but this native returns by
* reference the number of rows affected in the query. If the
* query fails rows will be equal to -1.
*/
native Result:dbi_query2(Sql:_sql, &rows, _query[], {Float,_}:...);
/* Returns 0 on failure or End of Results.
* Advances result pointer by one row.
*/