zeanium-node
Advanced tools
Comparing version 0.6.11 to 0.6.12
{ | ||
"name": "zeanium-node", | ||
"version": "0.6.11", | ||
"version": "0.6.12", | ||
"description": "Zeanium for Node.js, simple http server and custome your business.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -38,2 +38,3 @@ zn.define(function () { | ||
convert: 'zn_convert_user({})', | ||
hidden: true, | ||
get: function (){ | ||
@@ -50,2 +51,3 @@ return zn._request.getSessionKeyValue('@AdminUser', 'id'); | ||
format: "date_format({},'%Y-%c-%d %h:%i:%s')", | ||
hidden: true, | ||
default: null | ||
@@ -58,2 +60,3 @@ }, | ||
ignore: true, | ||
hidden: true, | ||
auto_update: function (){ | ||
@@ -68,2 +71,3 @@ return zn._request.getSessionKeyValue('@AdminUser', 'id'); | ||
ignore: true, | ||
hidden: true, | ||
default: 0 | ||
@@ -70,0 +74,0 @@ }, |
@@ -64,4 +64,5 @@ /** | ||
getSelectFields: function (inFields){ | ||
var fields = inFields||[]; | ||
var _props = this.getProperties(); | ||
var fields = inFields||Object.keys(_props); | ||
if(typeof fields == 'function'){ | ||
@@ -92,3 +93,3 @@ fields = fields.call(this); | ||
_prop = _props[field]; | ||
if(!_prop){ | ||
if(!_prop || _prop.hidden){ | ||
return -1; | ||
@@ -95,0 +96,0 @@ } |
250848
5953