v5:reference:loadbalancer:getconnection
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
v5:reference:loadbalancer:getconnection [2017/04/28 00:37] – created mnewnham | v5:reference:loadbalancer:getconnection [2017/05/11 00:40] – mnewnham | ||
---|---|---|---|
Line 16: | Line 16: | ||
The method '' | The method '' | ||
- | The returned object is an [[v5: | + | The returned object is an [[v5: |
--------------------------- | --------------------------- | ||
+ | <WRAP tip> | ||
+ | To ensure the accuracy of the response, you should have already executed at least one statement against the load balancer connection, or used a method such as **clusterExecute** | ||
+ | </ | ||
===== Usage ===== | ===== Usage ===== | ||
- | <code php> | + | If the system could not determine whether the command to be executed is read-only or not, for example in a stored procedure, then this method can be used to retrieve a connection of the appropriate type. |
- | </ | + | |
v5/reference/loadbalancer/getconnection.txt · Last modified: 2017/05/11 00:51 by mnewnham