| 218 | } |
| 219 | |
| 220 | type Saver interface { |
| 221 | // Insert inserts the bound Record into the bound table. |
| 222 | Insert() error |
| 223 | |
| 224 | // Update updates all of the fields on the bound Record based on the PRIMARY_KEY fields. |
| 225 | // |
| 226 | // Essentially, it does something like this: |
| 227 | // UPDATE bound_table SET every=?, field=?, but=?, keys=? WHERE primary_key=? |
| 228 | Update() error |
| 229 | |
| 230 | // Deletes a Record based on its PRIMARY_KEY(s). |
| 231 | Delete() error |
| 232 | } |
| 233 | |
| 234 | // Haecceity implements John Duns Scotus. |
| 235 | // |
no outgoing calls
no test coverage detected