[Dbix-class] match against ...

RAPPAZ Francois francois.rappaz at unifr.ch
Fri Mar 28 15:46:05 GMT 2014


Hi there

I haven't look deep enough in the doc pages, sorry, but how can I translate this with resultset('table')->search_rs();

SELECT * FROM table WHERE match(field1, field2, field3) against('+$bla' in boolean mode) ORDER BY field1 ?

$bla being taken from a field and having the spaces substituted with + :

my $bla = $b->get_text();

($bla=$bla)=~s/\s+/ \+/g;

Thanks

François 



More information about the DBIx-Class mailing list