[Dbix-class] order by field?

Octavian Rasnita orasnita at gmail.com
Mon Dec 17 09:57:08 GMT 2012


In MySQL is possible to do something like:

select * from table_name order by field(department, 'Marketing', 'Sales', 'Financial', 'IT', 'Operations');

In other databases it should be done differently....

Is it possible to do this search with DBIC?


More information about the DBIx-Class mailing list