# The GoAhead WebServer Database APIs

> dbAddRow
> dbClose
> dbDeleteRow
> dbGetTableId
> dbGetTableNrow
> dbGetTableName
> dbLoad
> dbOpen
> dbReadInt
> dbReadStr
> dbRegisterDBSchema
> dbSave
> dbSearchStr
> dbSetTableNrow
> dbWriteInt
> dbWriteStr
> dbZero

Database API Return Codes

> DB_OK (0): No error condition.
> DB_ERR_GENERAL (-1): A general error occurred in the database function.
> DB_ERR_COL_NOT_FOUND (-2): The specified column was not found.
> DB_ERR_COL_DELETED (-3): Attempt to access a deleted column.
> DB_ERR_ROW_NOT_FOUND (-4): The specified row ID is out of range.
> DB_ERR_ROW_DELETED (-5): Attempt to access a deleted row.
> DB_ERR_TABLE_NOT_FOUND (-6): The specified table name was not found.
> DB_ERR_TABLE_DELETED (-7): Attempt to access a deleted table.
> DB_ERR_BAD_FORMAT (-8): Attempt to access an integer as a string or vice versa.