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

Querys with double quotes #39

Open
fplanchon opened this issue Oct 3, 2023 · 0 comments
Open

Querys with double quotes #39

fplanchon opened this issue Oct 3, 2023 · 0 comments

Comments

@fplanchon
Copy link

The driver creates the queries with double quotes, causing a crash. Example:

DB::table('fases_de_produc')->where('id_fase', $id_fase)->first();

SQLSTATE[HY000]: General error: -204 Dynamic SQL Error SQL error code = -204 Table unknown fases_de_produc At line 1, column 23
SELECT
FIRST 1 *
FROM
"fases_de_produc"
WHERE
"id_fase" = 60

I know that it does not comply with the conventions, it is an old, pre-existing database. Thank u.

@fplanchon fplanchon changed the title Qerys with double quotes Querys with double quotes Oct 3, 2023
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

1 participant