-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Describe the bug
Hi, when using TypesenseBundle with a PostgreSQL database, it is impossible to use the query method from CollectionFinderInterface, that is supposed to return hydrated Doctrine Entities.
The bundle uses the ORDER BY FIELD directive, which is specific to MySQL.
To Reproduce
Steps to reproduce the behavior:
- Start a Symfony 6.3 project, with a PostgreSQL database, and TypesenseBundle enabled
- Configure the bundle properly to persist an entity (like a topic with an author and a content)
- Persist at least one entity
- Use the query method
Expected behavior
Should return the hydrated objects instead of crashing (from the SQL server).
Desktop (please complete the following information):
- OS: Ubuntu 22.04 LTS
- Docker
Additional context
- PostgreSQL version: postgres:14.2 (postgres:14.2-alpine docker image)
- Typesense version: 0.25.0 (typesense/typesense:0.25.0 docker image)
Metadata
Metadata
Assignees
Labels
No labels


