On Thu, Oct 26, 2017 at 10:35:47PM -0500, Matt Riedemann wrote: > On 10/26/2017 9:54 PM, Tony Breeds wrote: > > Can you use RLIKE/REGEX? or is that too MySQL specific ? > > I thought about that, and my gut response is 'no' because even if it does > work for mysql, I'm assuming regex pattern matching for postgresql is > different. And then you have different API behavior between clouds based on > the backend database they are using, and now we've opened that whole can of > worms again.
Yeah: column.op('rlike')() # Mysql column.op('~')() # Pgsql I have no idea if the regexs themselves would be compatible and of course there are other RDBMSs Yours Tony.
signature.asc
Description: PGP signature
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev