Created a couple of delete helpers
This commit is contained in:
@@ -29,6 +29,10 @@ char *scalarString(struct stored_conn_t *sconn, const char *qry, size_t qry_len,
|
||||
|
||||
// Where query methods
|
||||
int64_t countQuery(struct stored_conn_t *sconn, const char *table, where_builder *wb);
|
||||
int softDeleteByIdQuery(struct stored_conn_t *sconn,
|
||||
const char *table, const char *col, unsigned int id);
|
||||
int deleteByIdQuery(struct stored_conn_t *sconn,
|
||||
const char *table, const char *col, unsigned int id);
|
||||
int deleteQuery(struct stored_conn_t *sconn, const char *table, where_builder *wb);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user