 
 
 
-;(sql-1 "select count(id) from table_name " [])
+
 
 
 
 (defn next-realtime-id [] (swap! realtime-counter inc))
+
+
+
+
+
 
 
 




(defn make-log-table-update-trigger-function []
    (let [coils-trigger-fn-exists-result      (korma.core/exec-raw
                                                  ["select exists(select * from pg_proc where proname = 'trigger_function_afterUpdate');" []]

  (let [client-cache     (get @realtime-clients  client-realtime-id)
        ]
    (if (nil? client-cache)
      (swap! realtime-clients assoc client-realtime-id (atom {:queries (atom {})    :records (atom {})    :update-request (atom {})})))))








