From 27c64a2513e5f1473399f603f6623cf660a836ff Mon Sep 17 00:00:00 2001 From: Filip Hakansson Date: Tue, 7 May 2024 13:28:28 +0200 Subject: [PATCH] Small update to DatabaseAPIs documentation --- docs/documentation/api-specification/database-api.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/docs/documentation/api-specification/database-api.md b/docs/documentation/api-specification/database-api.md index ea39a93..0fa73b3 100644 --- a/docs/documentation/api-specification/database-api.md +++ b/docs/documentation/api-specification/database-api.md @@ -1,6 +1,6 @@ --- layout: default -title: Database API +title: Database APIs parent: API Specification grand_parent: Documentation nav_order: 7 @@ -69,16 +69,6 @@ void createTableRecord() { } ``` -Or to update the already existing record. -Example: - -```groovy - query.insert(container, { LockedResult existingRecord -> - existingRecord.set(*FIELD*, *DATA*) - existingRecord.update() - }) -``` - ### Read a specific record To read a specific record, primary keys or full index keys should be used to look up the data. The example below illustrates how to retrieve an item.