[Dbix-class] how to use a complex query in DBIx::Class

Wan wanmyome at gmail.com
Mon Dec 25 22:05:54 GMT 2006

Like this

SELECT boards.*, hiddenboards.userId IS NOT NULL AS hidden
FROM boards LEFT JOIN hiddenboards
ON hiddenboards.userId = '3'
AND hiddenboards.boardId = boards.id
WHERE boards.active = 1

I want to use this query in DBIx::Class, but...

More information about the Dbix-class mailing list