#1 2021-09-12 09:06:08

mongkey
Member
Registered: 2021-08-26
Posts: 17

How to do orm search with LIKE syntax?

How to do searching or filter using like syntax in mormot? Ex:Api/person?select=*&name -> LIKE %input%

Or just adding new interface for filtering sql?

Last edited by mongkey (2021-09-12 09:07:34)

Offline

#2 2021-09-12 14:22:39

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: How to do orm search with LIKE syntax?

Are you speaking about the REST ORM client URI?

You can pass whatever WHERE clause you want, with proper URL-encoding, including LIKE operators.

Offline

#3 2021-09-12 19:10:39

mongkey
Member
Registered: 2021-08-26
Posts: 17

Re: How to do orm search with LIKE syntax?

Thank you, i found your previous answer here https://www.synopse.info/forum/viewtopic.php?pid=19269 , its so silly because i search "mormot like syntax" not "mormot like operator"

Offline

Board footer

Powered by FluxBB