It seems like the only way not to bust the 50 prepared statements limit is to create a new statement and then drop it after executing it. When executing a query from the connection object, an error is thrown once 51 prepared statements have been reached.
It seems like the only way not to bust the 50 prepared statements limit is to create a new statement and then drop it after executing it. When executing a query from the connection object, an error is thrown once 51 prepared statements have been reached.
Please refer to this StackOverflow topic.
Thanks!