I suppose then the simplest solution is to make a function in the database that will execute a function on each element of an array and use: .having(func.array_agg(metaphones.columns.mphone).op('<@')(func.metaphone_array(terms)))
This seems to work fine. Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To view this discussion on the web visit https://groups.google.com/d/msg/sqlalchemy/-/5Bh6iSulbSgJ. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.