show query from bean

32 views
Skip to first unread message

Stephan Krauss

unread,
May 21, 2016, 11:48:42 AM5/21/16
to redbeanphp
Hello,

I have a simple bean.

$stephan = R::load('users',1);

How can i see the query from the bean ?

For example:
'select * from users where id = 1'

Your sincerly

Stephan


François Leblanc

unread,
May 22, 2016, 1:51:21 PM5/22/16
to redbeanphp

Hi,

try

R::debug(true);

Regards
Reply all
Reply to author
Forward
0 new messages