This commit is contained in:
2024-05-26 20:17:50 -07:00
parent daafe9eaa1
commit 4b36cde7a0
32 changed files with 5504 additions and 96 deletions

View File

@@ -0,0 +1,22 @@
(in-ns 'auto-ap.yodlee.core2)
(map :postDate (get-specific-transactions "NGGG" 17203328))
(->> (dc/q '[:find ?ba (count ?ya)
:in $
:where [?ba :bank-account/yodlee-account ?ya]
]
(dc/db conn))
(filter (comp #(> % 1) second)))
(dc/q '[:find ?ya ?ba ?cd ?ud
:in $ ?cd
:where
[?ba :bank-account/yodlee-account ?y]
[(get-else $ ?ba :bank-account/use-date-instead-of-post-date? false) ?ud]
[?c :client/bank-accounts ?ba]
[?c :client/code ?cd]
[?y :yodlee-account/id ?ya]]
(dc/db conn)
"NGGG")