Support the ongoing development of Laravel.io →
Database Eloquent

Hello!

I have a huge oracle application (using yajra/laravel-oci8 for oracle interface).

I want to create model 'Subscribes', but i can retrieve needed data only with stored procedure, like:

SELECT T.* FROM TABLE (AP_USER_OFFICE_PKG_S.GET_ACCOUNT_SERVS(:aid)) T 
ORDER BY T.c_fl_data desc, T.c_fl_voice desc, T.d_begin

Can i define DB procedure as model's $table?

Thanks and sorry for my poor english

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

ircop ircop Joined 16 Sep 2014

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.