Trinity Search bundle

Installs: 4 066

Dependents: 4

Suggesters: 0

Security: 0

Stars: 1

Watchers: 15

Forks: 0

Open Issues: 0


v1.0.4 2017-12-02 18:56 UTC

This package is not auto-updated.

Last update: 2021-02-24 22:40:39 UTC


#Trinity Search

Coverage Status Build Status

Trinity search is part of Trinity package.


  • Finds array of objects by given query

Base route:


##Syntax Append query to the base route. Query can be composed of:

  • (optional) Column selection - put columns which you want to return into simple brackets. If you want to access column from associated table, simply put colon and name of the column from associated table
  • (optional) Conditions - put conditions into curly brackets. Available operators: <, >, =, <=, >=, !=, AND, OR
{column1 > 500 AND column2 < 800 OR (column3 = <str>JohnDoe</str> AND column4 <= 20)}
  • String Values must be wrapped inside block
{name = <str>Jack</str> AND description LIKE <str>%it started as "game"%</str>}
  • (optional) Limit - for limit 5 rows simply append
  • (optional) Offset - for offset 10 rows simply append
  • (optional) Ordering - for ordering result, append keyword ORDER BY and then columns and directions by which you want to order, multiple columns ordering are supported - separate columns by comma
ORDERBY column1 ASC, column2 DESC


{defaultBillingPlan:initialPrice > "14"} LIMIT=10 OFFSET=0 ORDERBY clients:name ASC, defaultBillingPlan:initialPrice DESC