cube-js/cube

Support for ts_query on postgressql

Open

#3,225 创建于 2021年8月11日

在 GitHub 查看
 (2 评论) (4 反应) (0 负责人)Rust (19,563 star) (1,965 fork)batch import
driver:postgreshelp wanted

描述

Is your feature request related to a problem? Please describe. The list of available filters does not include postgresql full text search.

Describe the solution you'd like Add a filter option called tsQuery to BaseFilter.js:

tsQueryWhere(column) { return ${column} @@ to_tsquery(${this.firstParameter()}); }

add the option to operators in query.js const operators = [ 'equals', 'notEquals', 'contains', 'notContains', 'in', 'notIn', 'gt', 'gte', 'lt', 'lte', 'tsQuery', 'set', 'notSet', 'inDateRange', 'notInDateRange', 'onTheDate', 'beforeDate', 'afterDate', 'measureFilter', ];

贡献者指南