drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: REGEXP SUPPORT

Open
#2,570 0 comments 18 reactions 0 assignees View on GitHub
enhancement qb/crud
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Describe what you want

It is necessary to have a regexp operator, this is a basic feature.

This kind of expression is not supported and not correctly escaped.

```ts
sql`${files.path} REGEXP '^/tmp/foo(5)/tutu`
```

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating the tagged sql template path used by the example and tracing how the REGEXP expression is handled and escaped across supported database dialects. Done means the shown expression is accepted and produces correctly escaped SQL with regexp operator support.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql, typescript
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.