MCPcopy Index your code
hub / github.com/CloudBoost/cloudboost / regex

Method regex

sdk/src/CloudQuery.js:628–643  ·  view source on GitHub ↗
(columnName, value, isCaseInsensitive)

Source from the content-addressed store, hash-verified

626 }
627
628 regex(columnName, value, isCaseInsensitive) {
629 if (columnName === 'id')
630 columnName = '_' + columnName;
631
632 if (!this.query[columnName]) {
633 this.query[columnName] = {};
634 }
635
636 this.query[columnName]["$regex"] = value;
637
638 if (isCaseInsensitive) {
639 this.query[columnName]["$options"] = "i";
640 }
641
642 return this;
643 }
644
645 substring(columnName, value, isCaseInsensitive) {
646

Callers 2

substringMethod · 0.95
cloudboost.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected