hasura / hasura/graphql-engine

pattern matching for bytea type similar to '_like'

Open
#10,498 2 comments 0 reactions 0 assignees View on GitHub
c/server c/v2-engine k/enhancement v2 v2-engine v2-server
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

For my usecase it would be very useful to have pattern matching for `bytea` type inside a query, similar to how `_like` works for
strings.

Currently I have to query all results and filter client-side, which works but does increase bandwith significantly for no benefit.

Thanks in advance 😄

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the existing `_like` query behavior handles strings and how `bytea` values are represented in queries. Define the matching semantics and expected query behavior for bytea, then add coverage showing that pattern matching works without client-side filtering.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, postgresql
Domain
api, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.