lane711 / sonicjs

SonicJs Headless CMS - Blazing Fast Headless CMS built on Cloudflare Workers. 100% Javascript Based

Home Page:https://sonicjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expand where clause builder

lane711 opened this issue · comments

commented

line 36 in d1-data.ts

We need to expand the where clause builder to accept various operators like

  1. equal
  2. not equal
  3. greater than
  4. less than
  5. etc...

We can use Strapi for inspiration here:
https://docs.strapi.io/dev-docs/api/rest/filters-locale-publication

For this first story, let's just pick the top few operators that we want to support and add the others as another story.

Add unit, integrations tests