From 7b9a0baaf33680a26f8745c0f2d633d35ba9f2b0 Mon Sep 17 00:00:00 2001 From: Andrey Vereshchak Date: Sat, 26 Oct 2019 15:23:12 +0300 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 7764c68..a3053b1 100644 --- a/README.md +++ b/README.md @@ -45,15 +45,15 @@ const metalize = new Metalize({ const tables = await metalize.read.tables(['public.users', 'public.events']); console.log(tables); /** -{ - 'public.users': { +Map { + 'public.users' => { columns: [ ... ], primaryKey: { ... }, foreignKeys: [ ... ], unique: [ ... ], indexes: [ ... ] }, - 'public.events': { ... } + 'public.events' => { ... } } */ ``` @@ -87,8 +87,8 @@ const metalize = new Metalize({ const tables = await metalize.read.tables(['public.users', 'public.events']); console.log(tables); /** -{ - 'public.users': { +Map { + 'public.users' => { columns: [ ... ], primaryKey: { ... }, foreignKeys: [ ... ], @@ -96,15 +96,15 @@ console.log(tables); indexes: [ ... ], checks: [ ... ] }, - 'public.events': { ... } + 'public.events' => { ... } } */ const sequences = await metalize.read.sequences(['public.users_seq']); console.log(sequences); /** -{ - 'public.users_seq': { +Map { + 'public.users_seq' => { start: '1', min: '1', max: '9999',