SQL_QueryAndIgnore
- Синтаксис
-
stock SQL_QueryAndIgnore(Handle:db, const queryfmt[], any:...) { static query[4096]; new Handle:hQuery; new ret; vformat(query, sizeof(query)-1, queryfmt, 3); hQuery = SQL_PrepareQuery(db, "%s", query); if (SQL_Execute(hQuery)) { ret = SQL_AffectedRows(hQuery); } else { ret = -1; } SQL_FreeHandle(hQuery); return ret; }
Переменная | Описание |
---|---|
Нет агрументов |
- Описание
- Use this for executing a query and not caring about the error. Returns -1 on error, >=0 on success (with number of affected rows)