Short function for requesting the dbworker connected to the specified shard, that is chosen randomly for load balancing reason.
| Name | Pass type | Value type | Default value | Description |
|---|---|---|---|---|
| $load_balancing_group | by value | string |
The name of the shard. |
returns DBWorker object or null if the object could not be created.
It might throw the following exceptions in the case of any errors: