Beispiel #1
0
bool espUpdateFields(HttpConn *conn, cchar *tableName, MprHash *params)
{
    EdiRec  *rec;

    if ((rec = espSetFields(espReadRec(conn, tableName), params)) == 0) {
        return 0;
    }
    return ediUpdateRec(espGetDatabase(conn), rec) == 0;
}
Beispiel #2
0
PUBLIC EdiRec *setFields(EdiRec *rec, MprHash *params)
{
    return espSetFields(rec, params);
}