Documentation

This commit is contained in:
Gwendal Roué committed 2016-11-23 04:41:32 +01:00
1 parent 666d09e296
commit 3dff5cb99f
1 file changed
+3 -3
+3 -3
View File
@@ -2410,17 +2410,17 @@ This is the list of record methods, along with their required protocols. The [Re
| **Fetching Record Sequences** | | |
| `Type.fetch(db)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | |
| `Type.fetch(db, keys: ...)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | Requires unique keys <a href="#list-of-record-methods-1">¹</a> |
| `Type.fetch(db, sql|statement|request)` | [RowConvertible](#rowconvertible-protocol) | See [prepared statements](#prepared-statements), [requests](#requests) |
| `Type.fetch(db, sql|statement|request)` | [RowConvertible](#rowconvertible-protocol) | See [statements](#prepared-statements), [requests](#requests) |
| `Type.filter(...).fetch(db)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | See [requests](#requests) |
| **Fetching Record Arrays** | | |
| `Type.fetchAll(db)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | |
| `Type.fetchAll(db, keys: ...)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | Requires unique keys <a href="#list-of-record-methods-1">¹</a> |
| `Type.fetchAll(db, sql|statement|request)` | [RowConvertible](#rowconvertible-protocol) | See [prepared statements](#prepared-statements), [requests](#requests) |
| `Type.fetchAll(db, sql|statement|request)` | [RowConvertible](#rowconvertible-protocol) | See [statements](#prepared-statements), [requests](#requests) |
| `Type.filter(...).fetchAll(db)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | See [requests](#requests) |
| **Fetching Individual Records** | | |
| `Type.fetchOne(db)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | |
| `Type.fetchOne(db, key: ...)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | Requires a unique key <a href="#list-of-record-methods-1">¹</a> |
| `Type.fetchOne(db, sql|statement|request)` | [RowConvertible](#rowconvertible-protocol) | See [prepared statements](#prepared-statements), [requests](#requests) |
| `Type.fetchOne(db, sql|statement|request)` | [RowConvertible](#rowconvertible-protocol) | See [statements](#prepared-statements), [requests](#requests) |
| `Type.filter(...).fetchOne(db)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | See [requests](#requests) |
| **Changes Tracking** | | |
| `record.hasPersistentChangedValues` | [Record](#record-class) | |