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

Index not pass when making a query to database #202

Open
RemyCo opened this issue Apr 27, 2020 · 1 comment
Open

Index not pass when making a query to database #202

RemyCo opened this issue Apr 27, 2020 · 1 comment

Comments

@RemyCo
Copy link

RemyCo commented Apr 27, 2020

Description:

When making a query to the database using the findFromSql() method, when we pass an index with USE INDEX (name_index) the index is not put in the query on the database.

Screenshots:

Code:

image

Database Logs:

image

@Kharhamel
Copy link
Collaborator

This was added recently in magic query: thecodingmachine/magic-query#66

This should be integrated soon into tdbm, if not already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants