diff --git a/lib/abstract-class.js b/lib/abstract-class.js index 903a1a3a..2ef7a6cf 100644 --- a/lib/abstract-class.js +++ b/lib/abstract-class.js @@ -866,6 +866,10 @@ function defineScope(cls, targetClass, name, params, methods) { } } +AbstractClass.prototype.inspect = function () { + return util.inspect(this.__data, false, 4, true); +}; + /** * Check whether `s` is not undefined diff --git a/package.json b/package.json index bd833c5e..a38e6ad8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jugglingdb", "description": "ORM for every database: redis, mysql, neo4j, mongodb, postgres, sqlite", - "version": "0.1.23-pre", + "version": "0.1.23", "author": "Anatoliy Chakkaev ", "contributors": [ { "name": "Anatoliy Chakkaev", "email": "rpm1602@gmail.com" },