Support the ongoing development of Laravel.io →
Database Eloquent

I use PostgreSQL with partitioning by one table. Here's my quesrtion. Is there any way to query ONLY master table using Eloquent

I can satisfy my curiosity using DB facade like this ` DB :: select ('SELECT * FROM ONLY master_table') ` but I want to try to query ONLY master table using Eloquent. Thanks in advance.

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Nikita nezzl Joined 23 Nov 2017

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.