/** * INTERNAL: * When given an expression, this method will return a new expression with * the optimistic locking values included. The values are taken from the * passed in database row. This expression will be used in a delete call. */ public Expression buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row) { //use the same expression as update return buildUpdateExpression(table, mainExpression, row, null); }
/** * INTERNAL: * When given an expression, this method will return a new expression with * the optimistic locking values included. The values are taken from the * passed in database row. This expression will be used in a delete call. */ public Expression buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row) { //use the same expression as update return buildUpdateExpression(table, mainExpression, row, null); }
/** * INTERNAL: * When given an expression, this method will return a new expression with * the optimistic locking values included. The values are taken from the * passed in database row. This expression will be used in a delete call. */ public Expression buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row) { //use the same expression as update return buildUpdateExpression(table, mainExpression, row, null); }