Skip to content

0.36.0

Choose a tag to compare

@dantownsend dantownsend released this 25 Aug 16:14
· 756 commits to master since this release

Fixed an issue where like and ilike clauses required a wildcard (%). For example:

await Manager.select().where(Manager.name.ilike('Guido%')).run()

You can now omit wildcards if you like:

await Manager.select().where(Manager.name.ilike('Guido')).run()

Which would match on 'guido' and 'Guido', but not 'Guidoxyz'.

Thanks to @wmshort for reporting this issue.