I have table partitioned into say P14, P17, p16 etc. and I am using eloquent model I want to select the data from this partition.
For this use case I am not getting I should I use partitioning with model and I don't want to use raw query solution.
Is there any way where I can specify the partition in:
$result=ModelName::where(codition)->get();