Demo for query storing

Change-Id: I947bcac841992c3f6cfd01ab337c265b0d01cb70
diff --git a/node_modules/is-negated-glob/index.js b/node_modules/is-negated-glob/index.js
new file mode 100644
index 0000000..d1c060d
--- /dev/null
+++ b/node_modules/is-negated-glob/index.js
@@ -0,0 +1,15 @@
+'use strict';
+
+module.exports = function(pattern) {
+  if (typeof pattern !== 'string') {
+    throw new TypeError('expected a string');
+  }
+
+  var glob = { negated: false, pattern: pattern, original: pattern };
+  if (pattern.charAt(0) === '!' && pattern.charAt(1) !== '(') {
+    glob.negated = true;
+    glob.pattern = pattern.slice(1);
+  }
+
+  return glob;
+};