Data Service - search collections

alt=
vdragutinovic
@velibor-dragutinovic
9 years ago
9 posts
Hello,

I have a question regarding Proxima's data service. When searching for collection items we can user API this way:

http://localhost/jamroom/api/data/event/search?search1=title%20eq%20test

This search will return all the events which title is exactly "test".

Is there any other operator except equals (eq) which we can use for searching?
Is there operator like "contains" which would return all the events that contain "test" word in their title?

updated by @velibor-dragutinovic: 05/05/15 03:23:23AM
brian
@brian
9 years ago
10,148 posts
Yes - you would use the "like" operator - check out the documentation I've added to the Data Service:

https://www.jamroom.net/proxima/documentation/using-proxima/2018/the-proxima-data-service

that should cover all the different parameters you can use when searching collections.

Let me know if that helps.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
vdragutinovic
@velibor-dragutinovic
9 years ago
9 posts
It sure does! Thanks. :)
brian
@brian
9 years ago
10,148 posts
vdragutinovic:
It sure does! Thanks. :)

No problem!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags