Answer the question
In order to leave comments, you need to log in
Select multiple rows that match a condition. String or array?
Hello! Please tell me - if I execute such a query to the database, and several rows are found in the table that satisfy the condition, then in $aliases I will have an object with a string containing all the necessary mainnames or an array with them?
$aliases = Capsule::table('domains')
->where ('vhost' , $vhostid)
->select('mainname')
->get();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question