Context: I am using multisite to separate content on each website, however I’d like to have a set of APIs accessing all the data despite of the tenant it is called from.
Is there any clever way of doing the equivalent of the following
<?php
use Tailor\Models\EntryRecord;
function onStart() {
$this['dogs'] = EntryRecord::inSection('Dogs\Dog')->get();
}
that would consider data from the whole database table?
I know I could process my ‘xc_2e43xxxxxxxxxxxxxxxxxxxxxaddbc’ tables manually in Eloquent, but that’s something I’d like to avoid if possible.