MCPcopy Create free account
hub / github.com/boxbeam/RedLib / delete

Method delete

src/redempt/redlib/sql/SQLCache.java:91–94  ·  view source on GitHub ↗

Deletes a row from the table by its primary keys, and removes it from the cache. This operation will always use a query. @param primaryKeys The keys to use to delete the row

(Object... primaryKeys)

Source from the content-addressed store, hash-verified

89 * @param primaryKeys The keys to use to delete the row
90 */
91 public synchronized void delete(Object... primaryKeys) {
92 remove(primaryKeys);
93 sql.execute(deleteQuery, primaryKeys);
94 }
95
96 /**
97 * Removes a cached value, but does not affect the table

Callers

nothing calls this directly

Calls 2

removeMethod · 0.95
executeMethod · 0.80

Tested by

no test coverage detected