Get all tailor entries despite multisite

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.

Hey @Marcino

Sorry for the late reply here, but we’ve just documented this approach to global site context recently: