To cut a long story short: Is it possible and if it is - how can I build a query that looks somewhat like this one
SELECT * FROM a WHERE row = 1 AND
You can use the following:
$this->db->like('title', 'match', 'before');
It will produce:
WHERE `title` LIKE '%match' ESCAPE '!'