Access to database functions using Laravel

Asked

Viewed 44 times

0

Hi, I’m new to using Laravel and I have a question. To access pre-defined functions in a database, I do it directly from the controller or would have a more appropriate way for such a process?

Grateful.

  • Exemplify what you reported ... function ??? which functions ???

  • @Virgilionovic, I have a postgresql function that when I run the query with some variables, it searches inside the database tables and returns me an array with the pertinent information. I ended up solving using Collect. I was wondering if there are other ways to collect the data.

  • If you put in your question what you did it is easy to have some solution, but only text without minimal example has no way !!! If exemplify ...

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.