Michael Droll
Posts: 0
Joined: Wed Mar 04, 2015 5:05 am

how to find partial matches with api express.

I am using api express to connect to a database on hostbuddy.
I need to do a search to find a name, that part is simple. the problem I have is that the where requires exact match to the request.

I need to search on partial name matches. The column "FullName" in the database table has the full name "John Doe" but I need to find it by just "John" or "Doe". Or return everything that contains "John" or "Doe".

How do I add this to the service?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

how to find partial matches with api express.

Hello Michael,

Please clarify, which exactly DB do you use? If it is SQL Db - you are able to use simple SQL queries in API Express: https://devcenter.appery.io/tutorials...

Michael Droll
Posts: 0
Joined: Wed Mar 04, 2015 5:05 am

how to find partial matches with api express.

I'm using SQL Db.

I can run simple queries. I just need to query on partial match.
e.x. a search for "Mi" will return anything that contains "Mi" like "Michael" or "Mitchel" or "Mitch" or "Michell" or even "ccccc vvvvmivvvv"

Michael Droll
Posts: 0
Joined: Wed Mar 04, 2015 5:05 am

how to find partial matches with api express.

I should also note this is a Jquery App

Michael Droll
Posts: 0
Joined: Wed Mar 04, 2015 5:05 am

how to find partial matches with api express.

I't been 2 days, any help?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

how to find partial matches with api express.

Please use query with %%, example please look at this topic: https://getsatisfaction.com/apperyio/...

Return to “Issues”