From cf6ef25a8d22531c9c1222a1ec94762c5a34b355 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Fri, 25 Sep 2020 20:42:38 +0000 Subject: [PATCH] fix(core): update --- ts/smartdata.classes.doc.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/smartdata.classes.doc.ts b/ts/smartdata.classes.doc.ts index bfee998..61f8769 100644 --- a/ts/smartdata.classes.doc.ts +++ b/ts/smartdata.classes.doc.ts @@ -12,7 +12,7 @@ export type TDocCreation = 'db' | 'new' | 'mixed'; */ export function svDb() { return (target: SmartDataDbDoc, key: string) => { - console.log(`called svDb() on ${key}`); + console.log(`called svDb() on >${target.constructor.name}.${key}<`); if (!target.saveableProperties) { target.saveableProperties = []; } @@ -25,7 +25,7 @@ export function svDb() { */ export function unI() { return (target: SmartDataDbDoc, key: string) => { - console.log('called unI'); + console.log(`called unI on >>${target.constructor.name}.${key}<<`); // mark the index as unique if (!target.uniqueIndexes) {