Loads the entire Record using the value of the PRIMARY_KEY(s) This will only fetch columns that are mapped on the bound Record. But you can think of it as doing something like this: SELECT * FROM bound_table WHERE id=? LIMIT 1 And then mapping the result to the currently bound Record.
()
| 213 | // |
| 214 | // And then mapping the result to the currently bound Record. |
| 215 | Load() error |
| 216 | // Load by a WHERE-like clause. See Squirrel's Where(pred, args) |
| 217 | LoadWhere(interface{}, ...interface{}) error |
| 218 | } |
no outgoing calls