This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
CandleWick
Hi there, i am currently working on a project that makes use of OctoberCMS and mySQL database. I am trying to convert my SQL query to make use of the Query Class, https://octobercms.com/docs/database/query , but i am having trouble with it. Could you guys help me with it? My current SQL code is
select qst,ans from faq where match(qst) against ('".$taskName."' with query expansion) order by match(qst) against ('".$taskName."') desc limit 1;
where $taskName is what the user inputs.
1-1 of 1