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

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -