fix(core): update
This commit is contained in:
		@@ -3,6 +3,6 @@
 | 
			
		||||
 */
 | 
			
		||||
export const commitinfo = {
 | 
			
		||||
  name: '@push.rocks/smartdata',
 | 
			
		||||
  version: '5.0.35',
 | 
			
		||||
  version: '5.0.36',
 | 
			
		||||
  description: 'do more with data'
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -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