Exists verifies that a thing exists and is of this type. This uses the PRIMARY_KEY to verify that a record exists.
()
| 239 | // Exists verifies that a thing exists and is of this type. |
| 240 | // This uses the PRIMARY_KEY to verify that a record exists. |
| 241 | Exists() (bool, error) |
| 242 | // ExistsWhere verifies that a thing exists and is of the expected type. |
| 243 | // It takes a WHERE clause, and it needs to gaurantee that at least one |
| 244 | // record matches. It need not assure that *only* one item exists. |
no outgoing calls