瀏覽代碼

Merge branch 'master' of github.com:mevdschee/mysql-crud-api

Maurits van der Schee 10 年之前
父節點
當前提交
47a1ca2097
共有 1 個檔案被更改,包括 12 行新增0 行删除
  1. 12
    0
      README.md

+ 12
- 0
README.md 查看文件

@@ -67,6 +67,18 @@ GET http://localhost/api/categories?page=1,50
67 67
 
68 68
 ### List + Filter
69 69
 
70
+Match types supported:
71
+
72
+  - start (string starts with value)
73
+  - end (string end with value)
74
+  - any (string contains value)
75
+  - exact (string or number matches exactly)
76
+  - lower (number is lower than value)
77
+  - upto (number is lower than or equal to value)
78
+  - from (number is higher than or equal to value)
79
+  - higher (number is higher than value)
80
+  - in (number is in comma seperated list of values)
81
+
70 82
 ```
71 83
 GET http://localhost/api/categories?filter=name:Inter
72 84
 GET http://localhost/api/categories?filter=name:Internet&match=exact

Loading…
取消
儲存