Function

Purplesqlite3_get_schema_version

Declaration [src]

int
purple_sqlite3_get_schema_version (
  PurpleSqlite3* db,
  GError** error
)

Description [src]

Attempts to read the result of PRAGMA user_version which this API uses to store the schema version.

Available since:3.0.0

Parameters

db PurpleSqlite3
 

The sqlite3 connection.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: int
 

TRUE on success, or FALSE on error with error set.