                 order " "
                 data-session-id " "
                 realtime " "
-                ))
-
+                )))
+
+
+
+:else
+(do
   (let [
         record-count
 

  (println "************************************************************************************")
  (println "!get-query-results-v2*   REALTIME = " realtime)


(cond
   realtime
  (let [
  query-key   (create-query-key
                :db-table db-table
                :where where
                :start start
                :end end
                :params params
                :order order
  )
  ]
  (if (get @cached-queries  query-key)
    nil
    (swap! cached-queries assoc  query-key {})
  )
    (println "-------------------------------")
   (println cached-queries)
    (println "-------------------------------")
  
  

  (println (str "!get-query-results-v2: "
                db-table
