From a37a2e75fb58007c0a9d98f2bed9c54d9a1cfcc3 Mon Sep 17 00:00:00 2001 From: Pearl C <63629092+pearl-cao@users.noreply.github.com> Date: Sun, 5 Feb 2023 12:33:01 +0800 Subject: [PATCH] Update collection.md --- docs/en-US/api/database/collection.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en-US/api/database/collection.md b/docs/en-US/api/database/collection.md index f8f56fa19..afad2a7f6 100644 --- a/docs/en-US/api/database/collection.md +++ b/docs/en-US/api/database/collection.md @@ -74,7 +74,7 @@ const posts = new Collection({ }); ``` -## Instance Member +## Instance Members ### `options` @@ -108,7 +108,7 @@ Match the Model type of Sequelize. Data repository instance. -## Field Configuration Method +## Field Configuration Methods ### `getField()` @@ -333,7 +333,7 @@ const posts = db.collection({ posts.forEachField(field => console.log(field.name)); ``` -## Index Configuration Method +## Index Configuration Methods ### `addIndex()` @@ -405,7 +405,7 @@ const posts = db.collection({ posts.removeIndex(['title']); ``` -## Table Configuration Method +## Table Configuration Methods ### `remove()` @@ -431,7 +431,7 @@ const posts = db.collection({ posts.remove(); ``` -## Database Operation Method +## Database Operation Methods ### `sync()`