How do you query ScriptDb for partial matches?
===

I tried using RegEx and it did not return any results:

    function findRecord() {
      var db = ScriptDb.getMyDb();
      var toFind = /Quality/i;
      var results = db.query({companyName: toFind});
      while (results.hasNext()) {
        var result = results.next();
        Logger.log(Utilities.jsonStringify(result));
      }
    }

From what I can see, ScriptDb's query() will only return exact matches for strings. 

The only way I can see is to return the entire database and then iterate through it. I really hope there is a way to query partial matches.