mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
268 lines
19 KiB
268 lines
19 KiB
3 years ago
|
---
|
||
|
title: 'REST APIs'
|
||
2 years ago
|
description: 'NocoDB REST API Overview'
|
||
3 years ago
|
---
|
||
3 years ago
|
|
||
3 years ago
|
Once you've created the schemas, you can manipulate the data or invoke actions using the REST APIs. We provide several types of APIs for different usages as below.
|
||
3 years ago
|
|
||
3 years ago
|
## API Overview
|
||
3 years ago
|
|
||
3 years ago
|
Here's the overview of all APIs. For the details, please check out <a href="https://all-apis.nocodb.com/" target="_blank">NocoDB API Documentation</a>.
|
||
3 years ago
|
|
||
1 year ago
|
You may also interact with the API's resources via `Swagger UI`
|
||
3 years ago
|
|
||
1 year ago
|
> Currently, the default value for {orgs} is <b>noco</b>. Users will be able to change it in the future release.
|
||
3 years ago
|
|
||
3 years ago
|
### Auth APIs
|
||
|
|
||
3 years ago
|
| Category | Method | Tag | Function Name | Path |
|
||
|
|---|---|---|---|---|
|
||
3 years ago
|
| Auth | Post | auth | signup | /api/v1/auth/user/signup |
|
||
|
| Auth | Post | auth | signin | /api/v1/auth/user/signin |
|
||
|
| Auth | Get | auth | me | /api/v1/auth/user/me |
|
||
|
| Auth | Post | auth | passwordForgot | /api/v1/auth/password/forgot |
|
||
|
| Auth | Post | auth | passwordChange | /api/v1/auth/password/change |
|
||
|
| Auth | Post | auth | passwordReset | /api/v1/auth/password/reset/{token} |
|
||
|
| Auth | Post | auth | tokenRefresh | /api/v1/auth/token/refresh |
|
||
|
| Auth | Post | auth | passwordResetTokenValidate | /api/v1/auth/token/validate/{token} |
|
||
|
| Auth | Post | auth | emailValidate | /api/v1/auth/email/validate/{email} |
|
||
3 years ago
|
|
||
3 years ago
|
### Public APIs
|
||
3 years ago
|
|
||
3 years ago
|
| Category | Method | Tag | Function Name | Path |
|
||
|
|---|---|---|---|---|
|
||
|
| Public | Get | public | sharedBaseGet | /api/v1/db/public/shared-base/{sharedBaseUuid}/meta |
|
||
|
| Public | Post | public | dataList | /api/v1/db/public/shared-view/{sharedViewUuid}/rows |
|
||
|
| Public | Get | public | dataNestedList | /api/v1/db/public/shared-view/{sharedViewUuid}/rows/{rowId}/{relationType}/{columnName} |
|
||
|
| Public | Post | public | dataCreate | /api/v1/db/public/shared-view/{sharedViewUuid}/rows |
|
||
|
| Public | Get | public | csvExport | /api/v1/db/public/shared-view/{sharedViewUuid}/rows/export/{type} |
|
||
|
| Public | Get | public | dataRelationList | /api/v1/db/public/shared-view/{sharedViewUuid}/nested/{columnName} |
|
||
|
| Public | Get | public | sharedViewMetaGet | /api/v1/db/public/shared-view/{sharedViewUuid}/meta |
|
||
2 years ago
|
| Public | Get | public | groupedDataList | /api/v1/db/public/shared-view/{sharedViewUuid}/group/{columnId} |
|
||
3 years ago
|
|
||
|
### Data APIs
|
||
|
|
||
3 years ago
|
| Category | Method | Tag | Function Name | Path |
|
||
|
|---|---|---|---|---|
|
||
|
| Data | Delete| dbTableRow | bulkDelete | /api/v1/db/data/bulk/{orgs}/{projectName}/{tableName}/ |
|
||
|
| Data | Post | dbTableRow | bulkCreate | /api/v1/db/data/bulk/{orgs}/{projectName}/{tableName}/ |
|
||
|
| Data | Patch | dbTableRow | bulkUpdate | /api/v1/db/data/bulk/{orgs}/{projectName}/{tableName}/ |
|
||
|
| Data | Patch | dbTableRow | bulkUpdateAll | /api/v1/db/data/bulk/{orgs}/{projectName}/{tableName}/all |
|
||
|
| Data | Delete| dbTableRow | bulkDeleteAll | /api/v1/db/data/bulk/{orgs}/{projectName}/{tableName}/all |
|
||
|
| Data | Get | dbTableRow | list | /api/v1/db/data/{orgs}/{projectName}/{tableName} |
|
||
3 years ago
|
| Data | Get | dbTableRow | findOne | /api/v1/db/data/{orgs}/{projectName}/{tableName}/find-one |
|
||
3 years ago
|
| Data | Get | dbTableRow | groupBy | /api/v1/db/data/{orgs}/{projectName}/{tableName}/groupby |
|
||
3 years ago
|
| Data | Get | dbTableRow | exist | /api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId}/exist |
|
||
3 years ago
|
| Data | Post | dbTableRow | create | /api/v1/db/data/{orgs}/{projectName}/{tableName} |
|
||
|
| Data | Get | dbTableRow | read | /api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId} |
|
||
|
| Data | Patch | dbTableRow | update | /api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId} |
|
||
3 years ago
|
| Data | Delete| dbTableRow | delete | /api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId} |
|
||
3 years ago
|
| Data | Get | dbTableRow | count | /api/v1/db/data/{orgs}/{projectName}/{tableName}/count |
|
||
2 years ago
|
| Data | Get | dbTableRow | groupedDataList | /api/v1/db/data/{orgs}/{projectName}/{tableName}/group/{columnId} |
|
||
3 years ago
|
| Data | Get | dbViewRow | list | /api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName} |
|
||
|
| Data | Get | dbViewRow | findOne | /api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/find-one |
|
||
3 years ago
|
| Data | Get | dbViewRow | groupBy | /api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/groupby |
|
||
3 years ago
|
| Data | Get | dbViewRow | exist | /api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/{rowId}/exist |
|
||
3 years ago
|
| Data | Post | dbViewRow | create | /api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName} |
|
||
|
| Data | Get | dbViewRow | read | /api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/{rowId} |
|
||
|
| Data | Patch | dbViewRow | update | /api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/{rowId} |
|
||
|
| Data | Delete| dbViewRow | delete | /api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/{rowId} |
|
||
3 years ago
|
| Data | Get | dbViewRow | count | /api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/count |
|
||
2 years ago
|
| Data | Get | dbViewRow | groupedDataList | /api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/group/{columnId} |
|
||
3 years ago
|
|
||
|
### Meta APIs
|
||
|
|
||
3 years ago
|
| Category | Method | Tag | Function Name | Path |
|
||
|
|---|---|---|---|---|
|
||
|
| Meta | Get | apiToken | list | /api/v1/db/meta/projects/{projectId}/api-tokens |
|
||
|
| Meta | Post | apiToken | create | /api/v1/db/meta/projects/{projectId}/api-tokens |
|
||
|
| Meta | Delete| apiToken | delete | /api/v1/db/meta/projects/{projectId}/api-tokens/{token} |
|
||
|
| Meta | Get | auth | projectUserList | /api/v1/db/meta/projects/{projectId}/users |
|
||
|
| Meta | Post | auth | projectUserAdd | /api/v1/db/meta/projects/{projectId}/users |
|
||
|
| Meta | Patch | auth | projectUserUpdate | /api/v1/db/meta/projects/{projectId}/users/{userId} |
|
||
|
| Meta | Delete| auth | projectUserRemove | /api/v1/db/meta/projects/{projectId}/users/{userId} |
|
||
3 years ago
|
| Meta | Post | auth | projectUserResendInvite | /api/v1/db/meta/projects/{projectId}/users/{userId}/resend-invite |
|
||
3 years ago
|
| Meta | Post | dbTable | create | /api/v1/db/meta/projects/{projectId}/tables |
|
||
|
| Meta | Get | dbTable | list | /api/v1/db/meta/projects/{projectId}/tables |
|
||
|
| Meta | Post | dbTableColumn | create | /api/v1/db/meta/tables/{tableId}/columns |
|
||
|
| Meta | Patch | dbTableColumn | update | /api/v1/db/meta/tables/{tableId}/columns/{columnId} |
|
||
|
| Meta | Delete| dbTableColumn | delete | /api/v1/db/meta/tables/{tableId}/columns/{columnId} |
|
||
|
| Meta | Post | dbTableColumn | primaryColumnSet | /api/v1/db/meta/tables/{tableId}/columns/{columnId}/primary |
|
||
|
| Meta | Get | dbTableFilter | get | /api/v1/db/meta/filters/{filterId} |
|
||
|
| Meta | Patch | dbTableFilter | update | /api/v1/db/meta/filters/{filterId} |
|
||
|
| Meta | Delete| dbTableFilter | delete | /api/v1/db/meta/filters/{filterId} |
|
||
|
| Meta | Get | dbTableFilter | read | /api/v1/db/meta/views/{viewId}/filters |
|
||
|
| Meta | Post | dbTableFilter | create | /api/v1/db/meta/views/{viewId}/filters |
|
||
|
| Meta | Get | dbTableFilter | get | /api/v1/db/meta/filters/{filterId} |
|
||
|
| Meta | Patch | dbTableFilter | update | /api/v1/db/meta/filters/{filterId} |
|
||
|
| Meta | Delete| dbTableFilter | delete | /api/v1/db/meta/filters/{filterId} |
|
||
|
| Meta | Get | dbTableFilter | childrenRead | /api/v1/db/meta/filters/{filterGroupId}/children |
|
||
|
| Meta | Get | dbTableSort | list | /api/v1/db/meta/views/{viewId}/sorts |
|
||
|
| Meta | Post | dbTableSort | create | /api/v1/db/meta/views/{viewId}/sorts |
|
||
|
| Meta | Get | dbTableSort | read | /api/v1/db/meta/sorts/{sortId} |
|
||
|
| Meta | Patch | dbTableSort | update | /api/v1/db/meta/sorts/{sortId} |
|
||
|
| Meta | Delete| dbTableSort | delete | /api/v1/db/meta/sorts/{sortId}/api/v1/db |
|
||
|
| Meta | Patch | dbTableWebhook | update | /api/v1/db/meta/hooks/{hookId} |
|
||
|
| Meta | Delete| dbTableWebhook | delete | /api/v1/db/meta/hooks/{hookId} |
|
||
|
| Meta | Get | dbTableWebhook | list | /api/v1/db/meta/tables/{tableId}/hooks |
|
||
|
| Meta | Post | dbTableWebhook | create | /api/v1/db/meta/tables/{tableId}/hooks |
|
||
|
| Meta | Post | dbTableWebhook | test | /api/v1/db/meta/tables/{tableId}/hooks/test |
|
||
|
| Meta | Get | dbTableWebhook | samplePayloadGet | /api/v1/db/meta/tables/{tableId}/hooks/samplePayload/{operation} |
|
||
|
| Meta | Get | dbTableWebhookFilter | read | /api/v1/db/meta/hooks/{hookId}/filters |
|
||
|
| Meta | Post | dbTableWebhookFilter | create | /api/v1/db/meta/hooks/{hookId}/filters |
|
||
|
| Meta | Get | dbView | list | /api/v1/db/meta/tables/{tableId}/views |
|
||
|
| Meta | Get | dbView | read | /api/v1/db/meta/tables/{tableId} |
|
||
|
| Meta | Patch | dbView | update | /api/v1/db/meta/tables/{tableId} |
|
||
|
| Meta | Delete| dbView | delete | /api/v1/db/meta/tables/{tableId} |
|
||
|
| Meta | Post | dbView | reorder | /api/v1/db/meta/tables/{tableId}/reorder |
|
||
2 years ago
|
| Meta | Post | dbView | formCreate | /api/v1/db/meta/tables/{tableId}/forms |
|
||
2 years ago
|
| Meta | Patch | dbView | formUpdate | /api/v1/db/meta/forms/{formViewId} |
|
||
|
| Meta | Get | dbView | formRead | /api/v1/db/meta/forms/{formViewId} |
|
||
3 years ago
|
| Meta | Patch | dbView | formColumnUpdate | /api/v1/db/meta/form-columns/{formViewColumnId} |
|
||
2 years ago
|
| Meta | Post | dbView | galleryCreate | /api/v1/db/meta/tables/{tableId}/galleries |
|
||
|
| Meta | Patch | dbView | galleryUpdate | /api/v1/db/meta/galleries/{galleryViewId} |
|
||
|
| Meta | Get | dbView | galleryRead | /api/v1/db/meta/galleries/{galleryViewId} |
|
||
|
| Meta | Post | dbView | kanbanCreate | /api/v1/db/meta/tables/{tableId}/kanbans |
|
||
|
| Meta | Patch | dbView | kanbanUpdate | /api/v1/db/meta/kanban/{kanbanViewId} |
|
||
|
| Meta | Get | dbView | kanbanRead | /api/v1/db/meta/kanbans/{kanbanViewId} |
|
||
|
| Meta | Post | dbView | mapCreate | /api/v1/db/meta/tables/{tableId}/maps |
|
||
|
| Meta | Patch | dbView | mapUpdate | /api/v1/db/meta/maps/{mapViewId} |
|
||
|
| Meta | Get | dbView | mapRead | /api/v1/db/meta/maps/{mapViewId} |
|
||
|
| Meta | Post | dbView | gridCreate | /api/v1/db/meta/tables/{tableId}/grids |
|
||
3 years ago
|
| Meta | Get | dbView | gridColumnsList | /api/v1/db/meta/grids/{gridId}/grid-columns |
|
||
|
| Meta | Patch | dbView | gridColumnUpdate | /api/v1/db/meta/grid-columns/{columnId} |
|
||
|
| Meta | Patch | dbView | update | /api/v1/db/meta/views/{viewId} |
|
||
|
| Meta | Delete| dbView | delete | /api/v1/db/meta/views/{viewId} |
|
||
|
| Meta | Post | dbView | showAllColumn | /api/v1/db/meta/views/{viewId}/show-all |
|
||
|
| Meta | Post | dbView | hideAllColumn | /api/v1/db/meta/views/{viewId}/hide-all |
|
||
|
| Meta | Get | dbViewColumn | list | /api/v1/db/meta/views/{viewId}/columns |
|
||
|
| Meta | Post | dbViewColumn | create | /api/v1/db/meta/views/{viewId}/columns |
|
||
|
| Meta | Patch | dbViewColumn | update | /api/v1/db/meta/views/{viewId}/columns/{columnId} |
|
||
|
| Meta | Get | dbViewShare | list | /api/v1/db/meta/views/{viewId}/share |
|
||
|
| Meta | Post | dbViewShare | create | /api/v1/db/meta/views/{viewId}/share |
|
||
|
| Meta | Patch | dbViewShare | update | /api/v1/db/meta/views/{viewId}/share |
|
||
|
| Meta | Delete| dbViewShare | delete | /api/v1/db/meta/views/{viewId}/share |
|
||
|
| Meta | Get | plugin | list | /api/v1/db/meta/plugins |
|
||
|
| Meta | Get | plugin | status | /api/v1/db/meta/plugins/{pluginTitle}/status |
|
||
|
| Meta | Post | plugin | test | /api/v1/db/meta/plugins/test |
|
||
|
| Meta | PATCH | plugin | update | /api/v1/db/meta/plugins/{pluginId} |
|
||
|
| Meta | Get | plugin | read | /api/v1/db/meta/plugins/{pluginId} |
|
||
|
| Meta | Get | project | metaGet | /api/v1/db/meta/projects/{projectId}/info |
|
||
|
| Meta | Get | project | modelVisibilityList | /api/v1/db/meta/projects/{projectId}/visibility-rules |
|
||
|
| Meta | Post | project | modelVisibilitySet | /api/v1/db/meta/projects/{projectId}/visibility-rules |
|
||
|
| Meta | Get | project | list | /api/v1/db/meta/projects |
|
||
|
| Meta | Post | project | create | /api/v1/db/meta/projects |
|
||
|
| Meta | Get | project | read | /api/v1/db/meta/projects/{projectId} |
|
||
|
| Meta | Delete| project | delete | /api/v1/db/meta/projects/{projectId} |
|
||
|
| Meta | Get | project | auditList | /api/v1/db/meta/projects/{projectId}/audits |
|
||
|
| Meta | Get | project | metaDiffGet | /api/v1/db/meta/projects/{projectId}/meta-diff |
|
||
|
| Meta | Post | project | metaDiffSync | /api/v1/db/meta/projects/{projectId}/meta-diff |
|
||
|
| Meta | Get | project | sharedBaseGet | /api/v1/db/meta/projects/{projectId}/shared |
|
||
|
| Meta | Delete| project | sharedBaseDisable | /api/v1/db/meta/projects/{projectId}/shared |
|
||
|
| Meta | Post | project | sharedBaseCreate | /api/v1/db/meta/projects/{projectId}/shared |
|
||
|
| Meta | Patch | project | sharedBaseUpdate | /api/v1/db/meta/projects/{projectId}/shared |
|
||
|
| Meta | Post | storage | upload | /api/v1/db/storage/upload |
|
||
3 years ago
|
| Meta | Post | storage | uploadByUrl | /api/v1/db/storage/upload-by-url |
|
||
3 years ago
|
| Meta | Get | utils | commentList | /api/v1/db/meta/audits/comments |
|
||
|
| Meta | Post | utils | commentRow | /api/v1/db/meta/audits/comments |
|
||
|
| Meta | Get | utils | commentCount | /api/v1/db/meta/audits/comments/count |
|
||
|
| Meta | Post | utils | auditRowUpdate | /api/v1/db/meta/audits/update |
|
||
|
| Meta | Get | utils | cacheGet | /api/v1/db/meta/cache |
|
||
|
| Meta | Delete| utils | cacheDelete | /api/v1/db/meta/cache |
|
||
|
| Meta | Post | utils | testConnection | /api/v1/db/meta/projects/connection/test |
|
||
|
| Meta | Get | utils | appInfo | /api/v1/db/meta/nocodb/info |
|
||
3 years ago
|
| Meta | Get | utils | appVersion | /api/v1/version |
|
||
|
| Meta | Get | utils | appHealth | /api/v1/health |
|
||
2 years ago
|
| Meta | Get | utils | aggregatedMetaInfo | /api/v1/aggregated-meta-info |
|
||
2 years ago
|
| Meta | Get | orgUsers | list | /api/v1/users |
|
||
|
| Meta | Post | orgUsers | add | /api/v1/users |
|
||
|
| Meta | Patch | orgUsers | update | /api/v1/users/{userId} |
|
||
|
| Meta | Delete | orgUsers | delete | /api/v1/users/{userId} |
|
||
|
| Meta | Get | orgTokens | list | /api/v1/tokens |
|
||
|
| Meta | Post | orgTokens | create | /api/v1/tokens |
|
||
|
| Meta | Delete | orgTokens | delete | /api/v1/tokens/{token} |
|
||
|
| Meta | Get | orgAppSettings | get | /api/v1/app-settings |
|
||
|
| Meta | Post | orgAppSettings | set | /api/v1/app-settings |
|
||
3 years ago
|
|
||
3 years ago
|
## Query params
|
||
3 years ago
|
|
||
|
| **Name** | **Alias** | **Use case** | **Default value** |**Example value** |
|
||
|
|---|---|---|---|---|
|
||
|
| [where](#comparison-operators) | [w](#comparison-operators) | Complicated where conditions | | `(colName,eq,colValue)~or(colName2,gt,colValue2)` <br />[Usage: Comparison operators](#comparison-operators) <br />[Usage: Logical operators](#logical-operators) |
|
||
2 years ago
|
| limit | l | Number of rows to get (SQL limit value) | 10 | 20 |
|
||
|
| offset | o | Offset for pagination (SQL offset value) | 0 | 20 |
|
||
3 years ago
|
| sort | s | Sort by column name, Use `-` as prefix for descending sort | | column_name |
|
||
|
| fields | f | Required column names in result | * | column_name1,column_name2 |
|
||
2 years ago
|
| shuffle | r | Shuffle the result for pagination | 0 | 1 (Only allow 0 or 1. Other values would see it as 0) |
|
||
3 years ago
|
|
||
|
<!--
|
||
3 years ago
|
| fields1 | f1 | Required column names in child result | * | column_name1,column_name2 |
|
||
3 years ago
|
| bt | | Comma-separated belongs to tables | `All belongs to tables` | [click here for example](#nested-parentbelongs-to) |
|
||
|
| bfields`<p>` | bf`<p>` | Required belongs to table column names in result. Where `<p>` refers to position of table name in `bt` parameter(starts from `1`) | primary key and primary value | [click here for example](#nested-parentbelongs-to) |
|
||
|
| hm | | Comma-separated has many tables | `All hasmany tables` | [click here for example](#nested-childrenhas-many) |
|
||
|
| hfields`<p>` | hf`<p>` | Required has many table column names in result. Where `<p>` refers to position of table name in `hm` parameter(starts from `1`) | primary key and primary value | [click here for example](#nested-childrenhas-many) |
|
||
|
| mm | | Comma-separated many to many tables | `All many to many tables` | [click here for example](#nested-childrenmany-to-many) |
|
||
|
| mfields`<p>` | mf`<p>` | Required many to many table column names in result. Where `<p>` refers to position of table name in `mm` parameter(starts from `1`) | primary key and primary value | [click here for example](#nested-childrenmany-to-many) |
|
||
3 years ago
|
-->
|
||
|
|
||
|
## Comparison Operators
|
||
|
|
||
|
| Operation | Meaning | Example |
|
||
|
|---|---|---|
|
||
|
| eq | equal | (colName,eq,colValue) |
|
||
3 years ago
|
| neq | not equal | (colName,neq,colValue) |
|
||
|
| not | not equal (alias of neq) | (colName,not,colValue) |
|
||
3 years ago
|
| gt | greater than | (colName,gt,colValue) |
|
||
|
| ge | greater or equal | (colName,ge,colValue) |
|
||
|
| lt | less than | (colName,lt,colValue) |
|
||
|
| le | less or equal | (colName,le,colValue) |
|
||
|
| is | is | (colName,is,true/false/null) |
|
||
|
| isnot | is not | (colName,isnot,true/false/null) |
|
||
|
| in | in | (colName,in,val1,val2,val3,val4) |
|
||
|
| btw | between | (colName,btw,val1,val2) |
|
||
|
| nbtw | not between | (colName,nbtw,val1,val2) |
|
||
|
| like | like | (colName,like,%name) |
|
||
2 years ago
|
| isWithin | is Within (Available in `Date` and `DateTime` only) | (colName,isWithin,sub_op) |
|
||
2 years ago
|
| allof | includes all of | (colName,allof,val1,val2,...) |
|
||
|
| anyof | includes any of | (colName,anyof,val1,val2,...) |
|
||
|
| nallof | does not include all of (includes none or some, but not all of) | (colName,nallof,val1,val2,...) |
|
||
|
| nanyof | does not include any of (includes none of) | (colName,nanyof,val1,val2,...) |
|
||
3 years ago
|
|
||
2 years ago
|
## Comparison Sub-Operators
|
||
|
|
||
|
The following sub-operators are available in `Date` and `DateTime` columns.
|
||
|
|
||
|
| Operation | Meaning | Example |
|
||
|
|-----------------|-------------------------|-----------------------------------|
|
||
|
| today | today | (colName,eq,today) |
|
||
|
| tomorrow | tomorrow | (colName,eq,tomorrow) |
|
||
|
| yesterday | yesterday | (colName,eq,yesterday) |
|
||
|
| oneWeekAgo | one week ago | (colName,eq,oneWeekAgo) |
|
||
|
| oneWeekFromNow | one week from now | (colName,eq,oneWeekFromNow) |
|
||
|
| oneMonthAgo | one month ago | (colName,eq,oneMonthAgo) |
|
||
|
| oneMonthFromNow | one month from now | (colName,eq,oneMonthFromNow) |
|
||
|
| daysAgo | number of days ago | (colName,eq,daysAgo,10) |
|
||
|
| daysFromNow | number of days from now | (colName,eq,daysFromNow,10) |
|
||
|
| exactDate | exact date | (colName,eq,exactDate,2022-02-02) |
|
||
|
|
||
|
For `isWithin` in `Date` and `DateTime` columns, the different set of sub-operators are used.
|
||
|
|
||
|
| Operation | Meaning | Example |
|
||
|
|------------------|-------------------------|-----------------------------------------|
|
||
|
| pastWeek | the past week | (colName,isWithin,pastWeek) |
|
||
|
| pastMonth | the past month | (colName,isWithin,pastMonth) |
|
||
|
| pastYear | the past year | (colName,isWithin,pastYear) |
|
||
|
| nextWeek | the next week | (colName,isWithin,nextWeek) |
|
||
|
| nextMonth | the next month | (colName,isWithin,nextMonth) |
|
||
|
| nextYear | the next year | (colName,isWithin,nextYear) |
|
||
|
| nextNumberOfDays | the next number of days | (colName,isWithin,nextNumberOfDays,10) |
|
||
|
| pastNumberOfDays | the past number of days | (colName,isWithin,pastNumberOfDays,10) |
|
||
|
|
||
3 years ago
|
## Logical Operators
|
||
|
|
||
|
| Operation | Example |
|
||
|
|---|---|
|
||
|
| ~or | (checkNumber,eq,JM555205)~or((amount, gt, 200)~and(amount, lt, 2000)) |
|
||
|
| ~and | (checkNumber,eq,JM555205)~and((amount, gt, 200)~and(amount, lt, 2000)) |
|
||
3 years ago
|
| ~not | ~not(checkNumber,eq,JM555205) |
|