I have two boolean columns and I want to generate query: WHERE f1 or f2
I try to do at DBIx::Class searching for f1 OR f2. I tried:
->search([{ -bool => 'f1' }, { -bool => 'f2' }])
But I get error: Fatal: Illegal use of top-level '-ident' at
What I do wrong?
DBIx::Class uses SQL::Abstract. But I still do not understand from the documentation how to write search correctly.
I use PostgreSQL as database
SQLA version is '2.000001' DBIx::Class v0.082841