From 6a8e7bff51300edda099249b08628deb8244063c Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Fri, 8 Apr 2022 12:38:09 -0500 Subject: [PATCH] Specifing how store should work once querying is properly. --- .../TweetsCollection.class/instance/store.st | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Socialmetrica.package/TweetsCollection.class/instance/store.st b/Socialmetrica.package/TweetsCollection.class/instance/store.st index 6cc1b0f..eb3cf55 100644 --- a/Socialmetrica.package/TweetsCollection.class/instance/store.st +++ b/Socialmetrica.package/TweetsCollection.class/instance/store.st @@ -1,4 +1,9 @@ accessing store ReStore isConnected ifFalse: [ self class storeDB]. "Starting the ReStore singleton." - self tweets do: [:each | ReStore evaluateAsTransaction: [ each store ] ]. \ No newline at end of file + self tweets do: [:each | + ReStore evaluateAsTransaction: [ + each store. + "each user isInDB? ifFalse: [ each user store ]" + ] + ]. \ No newline at end of file