Developer

API Reference

IGallery_Update()

Brew Release
Brew MP 1.0.2
Description
Updates value(s) in the gallery db.
Parameters
  • pif
    [in]:
    Pointer to IGallery interface
  • pwszSetClause
    [in]:
    SET clause for the UPDATE statement
  • pwszWhereClause
    [in]:
    WHERE clause for the UPDATE statement
  • piSQLStmt
    [out]:
    SQL statement object to be returned to caller
Interface
Prototype
   int IGallery_Update(IGallery *pif,
                       const AECHAR *pwszSetClause,
                       const AECHAR *pwszWhereClause,
                       ISQLStmt **ppiSQLStmt);
Return
int: Error code
Comment
Refer to http://sqlite.org/lang_update.html for more help on constructing a SELECT statement.
Sub-queries are supported by the @TABLE@ keyword. If this keyword appears anywhere in the query clauses, it will be replaced with the correct table source, correctly handling multi-databases.
  • Follow