harrygulliford / laravel-firebird

Firebird database driver for the Laravel Framework
62 stars 32 forks source link

Querys with double quotes #39

Open fplanchon opened 11 months ago

fplanchon commented 11 months ago

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.

danbonattis commented 2 months ago

Same here, for Firebird version 4.0