Closed dydx-git closed 3 years ago
You cannot select table from schema directly. Just simply change information_schema.tables
to tables
instead.
What happend if my MSSQL DB contains a few schemas like cat.employee, fun.tickets and i have to make joins?
I'm trying this but not korking
$db->select("fun.boletos(b)", [ "[>]cat.empleados(e)" => ["idempleado" => "id"] ], [ "b.id", "e.nombre" ],[ "e.id[<=]" => 20 ]);
Describe the bug Calling methods with 'information_schema.tables' as the table name gives the following error:
Information
Detail Code
Expected output Expected it to translate to this query:
SELECT UPDATE_TIME FROM information_schema.tables WHERE TABLE_SCHEMA = 'your_dbname' AND TABLE_NAME = 'your_tablename'