A
A
ARX22019-01-11 15:39:10
Laravel
ARX2, 2019-01-11 15:39:10

How to connect to a third-party DB through a model?

Good afternoon. Explain how to connect to a third-party database to a table through a model, there is such an option in the documentation , but I didn’t fully understand how to connect? Explain how to do it right

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Kozlov, 2019-01-11
@ARX2

The third-party base, presumably, is used by another application?
If so, then it is much more correct and prettier to make an api in the second application and work with the second base through it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question