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

java - Could not locate OpenAL library -

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

sorting - opencl Bitonic sort with 64 bits keys -