2016-09-13 20:53:21 +00:00
|
|
|
import { DbCollection } from './smartdata.classes.dbcollection';
|
|
|
|
export declare type TDocCreation = 'db' | 'data' | 'mixed';
|
|
|
|
export declare class DbDoc<T> {
|
|
|
|
collection: DbCollection<T>;
|
|
|
|
creationType: TDocCreation;
|
2016-09-13 23:02:11 +00:00
|
|
|
constructor();
|
2016-09-13 20:53:21 +00:00
|
|
|
save(): void;
|
|
|
|
saveDeep(): void;
|
|
|
|
}
|