                       :order     order)
          ]
      (create-client-cache  data-session-id)
-     (delete-from-realtime-update  query-key data-session-id)
+     (delete-query-from-realtime-update  query-key data-session-id)
 
      (if (get @server-side-cached-queries  query-key)
        nil

      ;(println "SQL::: " sql "," id)
      (sql-1  sql [id])
      )))




        (if (not cached-record)
          (get-record-from-database    db-table id fields)
          (do
            (delete-record-from-realtime-update  db-table    id     client-id)
            ;(println "Use cached value " id ":" cached-record)
            (get cached-record :value)
            )
