Nanne Huiges
Tue Jan 17 10:48:44 -0500 2012
What do you mean? If it isn't used, you can either add a model, or just query your database without phpactiverecord?
alexandr m
Tue Jan 17 13:09:34 -0500 2012
Yes, I just want to know if it's possible to execute any query using phpactiverecord. Should I use "mysql_query" php function and create separate mysql connection for it, or there is some phpactiverecord non-model method to execute any queries using phpactiverecord db connection?
Yoan B
Wed Jan 18 10:20:26 -0500 2012
You can use Connection::query()
, check the documentation: http://www.phpactiverecord.xyz/docs/ActiveRecord/Connection#methodquery
alexandr m
Thu Jan 19 03:18:52 -0500 2012
Thank you! I'll try it
(1-4/4)
Subject: SQL query to table without model
Hello!
How to execute query to table to select data from it, if that table is not used by any model?
Thanks!