Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSONB support anyhow or in the future? #7

Open
FM77-fmm opened this issue Nov 26, 2024 · 1 comment
Open

JSONB support anyhow or in the future? #7

FM77-fmm opened this issue Nov 26, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@FM77-fmm
Copy link

FM77-fmm commented Nov 26, 2024

Description

Hi, i'm evaluating this helper and wonder if there exists a way to query JSONB data with unknown properties/structure, e.g.: {"name": "foo", "val": 1}
and can use it like this:
filters.put("properties->>name_eq", "foo");

Otherwise is there a way to append custom filters without the need to use entity-class and @searchable annotation?

@biagioT
Copy link
Owner

biagioT commented Nov 27, 2024

Hi, I'll answer you in order:
JSONB is currently not supported. It probably will be in the future.
This library only makes sense to be used if you use entities.

@biagioT biagioT added the enhancement New feature or request label Nov 27, 2024
@biagioT biagioT self-assigned this Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants