F
F
Faig Alizale2017-08-16 08:10:10
PHP
Faig Alizale, 2017-08-16 08:10:10

How to connect to two DBs in RedBeanPHP?

Hello, I would like to know how to connect to two databases in RedBeanphp please read more!
I did not understand anything from the official site

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shamsudin Serderov, 2017-08-16
@faiqalizade

And what is not clear here?

R::addDatabase('DB1','sqlite:/tmp/d1.sqlite',
        'user','password',$frozen);

   R::selectDatabase('DB1');
 R::selectDatabase('default');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question