From 4e0900dffa16bef33401842c07090e2d2dab1b54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Tue, 26 Sep 2017 19:21:52 +0200 Subject: [PATCH] Documentation --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index f575f2285..8c18bc654 100644 --- a/README.md +++ b/README.md @@ -2649,19 +2649,19 @@ This is the list of record methods, along with their required protocols. The [Re | Method | Protocols | Notes | | ------ | --------- | :---: | | **Inserting and Updating Records** | | | -| `try record.insert(db)` | [Persistable](#persistable-protocol) | | -| `try record.save(db)` | [Persistable](#persistable-protocol) | | -| `try record.update(db)` | [Persistable](#persistable-protocol) | | -| `try record.update(db, columns: ...)` | [Persistable](#persistable-protocol) | | +| `record.insert(db)` | [Persistable](#persistable-protocol) | | +| `record.save(db)` | [Persistable](#persistable-protocol) | | +| `record.update(db)` | [Persistable](#persistable-protocol) | | +| `record.update(db, columns: ...)` | [Persistable](#persistable-protocol) | | | `record.databaseDictionary` | [Persistable](#persistable-protocol) | | | **Checking Record Existence** | | | | `record.exists(db)` | [Persistable](#persistable-protocol) | | | **Deleting Records** | | | -| `try record.delete(db)` | [Persistable](#persistable-protocol) | | -| `try Type.deleteOne(db, key: ...)` | [Persistable](#persistable-protocol) | ¹ | -| `try Type.deleteAll(db)` | [Persistable](#persistable-protocol) | | -| `try Type.deleteAll(db, keys: ...)` | [Persistable](#persistable-protocol) | ¹ | -| `try Type.filter(...).deleteAll(db)` | [Persistable](#persistable-protocol) | ² | +| `record.delete(db)` | [Persistable](#persistable-protocol) | | +| `Type.deleteOne(db, key: ...)` | [Persistable](#persistable-protocol) | ¹ | +| `Type.deleteAll(db)` | [Persistable](#persistable-protocol) | | +| `Type.deleteAll(db, keys: ...)` | [Persistable](#persistable-protocol) | ¹ | +| `Type.filter(...).deleteAll(db)` | [Persistable](#persistable-protocol) | ² | | **Counting Records** | | | | `Type.fetchCount(db)` | [TableMapping](#tablemapping-protocol) | | | `Type.filter(...).fetchCount(db)` | [TableMapping](#tablemapping-protocol) | ² |