diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-09-25 17:10:40 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-09-25 17:10:40 +0700 |
| commit | 2b6d84bdf139f8f99ac554dc7b00db2d2df2c079 (patch) | |
| tree | 83929dec0e13e050c9329526ca4e0ef74994b480 /import_account_move.ktr | |
| parent | 3005e40f7d1675403f0ce32807022e297786c1a8 (diff) | |
add interval
Diffstat (limited to 'import_account_move.ktr')
| -rw-r--r-- | import_account_move.ktr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/import_account_move.ktr b/import_account_move.ktr index ebb2fe6..040990d 100644 --- a/import_account_move.ktr +++ b/import_account_move.ktr @@ -556,7 +556,7 @@ <schema_name/> </partitioning> <connection>erp indoteknik production (localhost)</connection> - <sql>select * from account_move</sql> + <sql>select * from account_move where write_date >= (now() - '5 days'::interval)</sql> <limit>0</limit> <lookup/> <execute_each_row>N</execute_each_row> |
