Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-11-30 21:08:58 +03:00
parent c061f834f0
commit a7d1488fe7

View File

@ -611,6 +611,15 @@ var TagsPrototype = {
// constructor... // constructor...
parseQuery: function(query){ parseQuery: function(query){
return this.constructor.parseQuery.call(this, query) }, return this.constructor.parseQuery.call(this, query) },
//
// Execute query...
// .query(query)
// -> values
//
// Execute the query and return raw/structured results...
// .query(query, true)
// -> values
//
query: function(query, raw){ query: function(query, raw){
var that = this var that = this
var ns = this.__query_ns var ns = this.__query_ns
@ -640,7 +649,7 @@ var TagsPrototype = {
this this
: (this : (this
// XXX should these be here??? // XXX should these be here???
.flat(1) .flat()
.unique()) }) .unique()) })
}, },