Drupal: Use database replica as entity query target
In our latest project, we’ve already configured primary/replica database configuration. You can
visit https://www.drupal.org/docs/8/api/database-api/database-configuration if you haven’t set it up yet. Now we can target those replica(s) when makes a query in our custom code. But what about query in…