Template:Db functions

From SA-MP Wiki

Jump to: navigation, search
  • db_open: Open a connection to an SQLite database
  • db_close: Close the connection to an SQLite database
  • db_field_name: Returns the name of a field at a particular index
  • db_get_field: Get content of field with specified ID from current result row
  • db_get_field_int: Get content of field as an integer with specified ID from current result row
  • db_get_field_float: Get content of field as a float with specified ID from current result row