select `members`.*, `same_authorspreables`.`same_authorspre_id` as `pivot_same_authorspre_id`, `same_authorspreables`.`members_id` as `pivot_members_id`, `same_authorspreables`.`same_authorspre_type` as `pivot_same_authorspre_type` from `members` innerjoin `same_authorspreables` on `members`.`id` = `same_authorspreables`.`members_id` where `same_authorspreables`.`same_authorspre_id` in (221, 222, 223, 224, 225, 226, 227) and `same_authorspreables`.`same_authorspre_type` ='App\Models\Preprints'
select `members`.*, `same_authorsables`.`same_authors_id` as `pivot_same_authors_id`, `same_authorsables`.`members_id` as `pivot_members_id`, `same_authorsables`.`same_authors_type` as `pivot_same_authors_type` from `members` innerjoin `same_authorsables` on `members`.`id` = `same_authorsables`.`members_id` where `same_authorsables`.`same_authors_id` in (1134, 1135, 1137) and `same_authorsables`.`same_authors_type` ='App\Models\Prints'