summaryrefslogtreecommitdiff
path: root/import_stock_quant.ktr
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-10-20 10:45:14 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-10-20 10:45:14 +0700
commitd6e7102f32d690eb05fe6d3e9b097566ac3fa77f (patch)
tree4341c07687e3d6b5f0e9586cc8d5e5b6912a84a2 /import_stock_quant.ktr
parentaa581601cc6c72fd053b70584b618c75961bab78 (diff)
import stock_location
Diffstat (limited to 'import_stock_quant.ktr')
-rw-r--r--import_stock_quant.ktr2
1 files changed, 1 insertions, 1 deletions
diff --git a/import_stock_quant.ktr b/import_stock_quant.ktr
index 81f8e44..a98c792 100644
--- a/import_stock_quant.ktr
+++ b/import_stock_quant.ktr
@@ -556,7 +556,7 @@
<schema_name/>
</partitioning>
<connection>erp indoteknik production (localhost)</connection>
- <sql>select * from stock_quant</sql>
+ <sql>select * from stock_quant where write_date >= (now() - '5 days'::interval)</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>