From 6e1e49a185e4f90d64aab21a36b239d48d60316e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 23 Nov 2016 04:39:34 +0100 Subject: [PATCH] Documentation --- README.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index cc9fbfe19..cd68cf1f6 100644 --- a/README.md +++ b/README.md @@ -2410,23 +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 ¹ | -| `Type.fetch(db, sql)` | [RowConvertible](#rowconvertible-protocol) | | -| `Type.fetch(db, statement)` | [RowConvertible](#rowconvertible-protocol) | See [prepared statements](#prepared-statements) | -| `Type.fetch(db, request)` | [RowConvertible](#rowconvertible-protocol) | See [fetch requests](#requests) | +| `Type.fetch(db, sql|statement|request)` | [RowConvertible](#rowconvertible-protocol) | See [prepared statements](#prepared-statements), [fetch requests](#requests) | | `Type.filter(...).fetch(db)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | See [fetch 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 ¹ | -| `Type.fetchAll(db, sql)` | [RowConvertible](#rowconvertible-protocol) | | -| `Type.fetchAll(db, statement)` | [RowConvertible](#rowconvertible-protocol) | See [prepared statements](#prepared-statements) | -| `Type.fetchAll(db, request)` | [RowConvertible](#rowconvertible-protocol) | See [fetch requests](#requests) | +| `Type.fetchAll(db, sql|statement|request)` | [RowConvertible](#rowconvertible-protocol) | See [prepared statements](#prepared-statements), [fetch requests](#requests) | | `Type.filter(...).fetchAll(db)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | See [fetch 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 ¹ | -| `Type.fetchOne(db, sql)` | [RowConvertible](#rowconvertible-protocol) | | -| `Type.fetchOne(db, statement)` | [RowConvertible](#rowconvertible-protocol) | See [prepared statements](#prepared-statements) | -| `Type.fetchOne(db, request)` | [RowConvertible](#rowconvertible-protocol) | See [fetch requests](#requests) | +| `Type.fetchOne(db, sql|statement|request)` | [RowConvertible](#rowconvertible-protocol) | See [prepared statements](#prepared-statements), [fetch requests](#requests) | | `Type.filter(...).fetchOne(db)` | [RowConvertible](#rowconvertible-protocol) & [TableMapping](#tablemapping-protocol) | See [fetch requests](#requests) | | **Changes Tracking** | | | | `record.hasPersistentChangedValues` | [Record](#record-class) | |