fix(core): update
This commit is contained in:
@ -127,6 +127,13 @@ export class SmartDataDbDoc<T extends TImplements, TImplements, TManager extends
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* get a unique id prefixed with the class name
|
||||
*/
|
||||
public static async getUniqueId<T = any>(this: plugins.tsclass.typeFest.Class<T>) {
|
||||
return `${this.name}:${plugins.smartunique.shortId(20)}`;
|
||||
}
|
||||
|
||||
/**
|
||||
* get cursor
|
||||
* @returns
|
||||
|
Reference in New Issue
Block a user