Using act_as_ferret with find_by_sql

Hello,

I wonder if its possible to combine ferret queries with find_by_sql
queries?

Or should I try to rewrite my query using find and then use
find_by_content when I’m done?

Thanks for a great product!

Regards,
henrik

Hi!

On Mon, Mar 05, 2007 at 10:14:41AM +0100, Henrik Z. wrote:

Hello,

I wonder if its possible to combine ferret queries with find_by_sql
queries?

Or should I try to rewrite my query using find and then use
find_by_content when I’m done?

That’s one option. The other is to use find_id_by_contents, collect the
ids and use them in your find_by_sql statement.

cheers,
Jens


Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[email protected] | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa