php - Reusing prepared statements between dbs with identical schema -


i have multi tenant php application using 1 database per tenant. when switching between tenants in pdo using $db->query("use $tenant"), can prepared statements reused between databases identical structure? or tied specific database? happen if tried execute prepared statement after switching database on same connection?


Comments