@coolgk/mongo
Advanced tools
Comparing version 1.0.12 to 1.0.13
/*! | ||
* @package @coolgk/mongo | ||
* @version 1.0.12 | ||
* @version 1.0.13 | ||
* @link https://coolgk.github.io/mongodb-orm.html | ||
@@ -16,3 +16,3 @@ * @license MIT | ||
export declare enum GeneratedField { | ||
DATE_MODIFIED = "_dateModified", | ||
DATE_MODIFIED = "_dateModified" | ||
} | ||
@@ -26,3 +26,3 @@ export declare enum DataType { | ||
ENUM = "enum", | ||
OBJECTID = "objectId", | ||
OBJECTID = "objectId" | ||
} | ||
@@ -107,12 +107,12 @@ export interface IDataSchema { | ||
attachObjectIdData(data: Cursor | IDocument[], joins: IJoin[]): Promise<Cursor | IDocument[]>; | ||
private _attachDataToReferencePointer(data, joins, dataSchema, model?); | ||
private _findObjectIdInData(data, dataSchema, fieldPathsInJoin, objectIdInData, referencePointer?); | ||
private _getJoinQuery(model, query?, joins?); | ||
private _findObjectIdFieldModel(fieldPath, model); | ||
private _getJsonSchema(schema); | ||
private _transform(data, dataSchema, insert?, referencePointer?); | ||
private _setTransformedValue(newValue, referencePointer?); | ||
private _getUpdateQuery(data, dataSchema, parent?, queries?); | ||
private _setUpdateQuery(queries, parent, action, data); | ||
private _attachDataToReferencePointer; | ||
private _findObjectIdInData; | ||
private _getJoinQuery; | ||
private _findObjectIdFieldModel; | ||
private _getJsonSchema; | ||
private _transform; | ||
private _setTransformedValue; | ||
private _getUpdateQuery; | ||
private _setUpdateQuery; | ||
} | ||
export default Mongo; |
/*! | ||
* @package @coolgk/mongo | ||
* @version 1.0.12 | ||
* @version 1.0.13 | ||
* @link https://coolgk.github.io/mongodb-orm.html | ||
@@ -5,0 +5,0 @@ * @license MIT |
@@ -1,1 +0,1 @@ | ||
{"name":"@coolgk/mongo","version":"1.0.12","description":"A javascript / typescript MongoDB modelling library which enables joins in collections, simplifies CRUD operations for sub / nested documents and implements schema based data validation","main":"./mongo.js","types":"./mongo.d.ts","dependencies":{"@coolgk/array":"^2.0.4","mongodb":"^3.0.4"},"author":"Daniel Gong <daniel.k.gong@gmail.com>","license":"MIT","bugs":{"url":"https://github.com/coolgk/node-mongo/issues"},"homepage":"https://coolgk.github.io/mongodb-orm.html","keywords":["mongo","MongoDB","orm","odm","relational","data validation","join"]} | ||
{"name":"@coolgk/mongo","version":"1.0.13","description":"A javascript / typescript MongoDB modelling library which enables joins in collections, simplifies CRUD operations for sub / nested documents and implements schema based data validation","main":"./mongo.js","types":"./mongo.d.ts","dependencies":{"@coolgk/array":"^2.0.4","mongodb":"^3.0.10"},"author":"Daniel Gong <daniel.k.gong@gmail.com>","license":"MIT","bugs":{"url":"https://github.com/coolgk/node-mongo/issues"},"homepage":"https://coolgk.github.io/mongodb-orm.html","keywords":["mongo","MongoDB","orm","odm","relational","data validation","join"]} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61122
Updatedmongodb@^3.0.10