mistic100 / mistic100/jQuery-QueryBuilder

Does QueryBuilder Support Regex?

Open
#997 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
544
PR merge metrics
No merged PRs in 30d

Description

I read the full documentation, looked up the examples and also plugins but did not come accross with the Regex Search.
I am also using the component mostly with getSQL and setSQL options. If a user wants to do an or operation, it should also be converted to "IN" operators in mysql because it is also faster. Even if not, users should be able to provide a list. Did I miss these features or did they not exist yet?

Or/IN case have a solution and working but in my case, I am using MySQL and I need something similar to the following examples:
https://www.geeksforgeeks.org/mysql-regular-expressions-regexp/

Even if it doesn't exist yet, I think this should be supported by the project by default as it is a valid SQL operation. If it exists, could someone help me with how do I actually implement this into my query builder.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source files or tests. Start by reviewing the QueryBuilder documentation and examples, then trace the getSQL and setSQL options mentioned in the report. Compare the requested MySQL REGEXP and OR/IN behavior with the project's existing query support; done requires a decided feature scope, implementation location, and tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery, mysql, sql
Domain
database, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.