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

Method checkKeys

src/redempt/redlib/sql/SQLCache.java:79–83  ·  view source on GitHub ↗
(Object... primaryKeys)

Source from the content-addressed store, hash-verified

77 }
78
79 private void checkKeys(Object... primaryKeys) {
80 if (primaryKeys.length != primaryKeyNames.length) {
81 throw new IllegalArgumentException("Expected " + primaryKeyNames.length + " primary keys, got " + primaryKeys.length);
82 }
83 }
84
85 /**
86 * Deletes a row from the table by its primary keys, and removes it from the cache.

Callers 3

removeMethod · 0.95
updateMethod · 0.95
selectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected