                trows)]))))
 
 (defui Table
+  static om/Ident (ident [this {:keys [tid]}] [:tables/by-tid tid])
+  static om/IQuery (query [this] '[:tid :sqlfn :tname])
   Object
   (render
    [this]


(defui RootView
  ;; the query-tree is static
  static om/IQuery (query [this] `[{:list/tables ~(om/get-query TTable)}])
  Object
  #_(componentWillReceiveProps
     [this next-props]            (println "RootView" "WillReceiveProps"))

(defui ColsSalaries
  static om/Ident (ident [this {:keys [id]}] [:rows/by-id id])
  static om/IQuery (query [this] '[:id :salary :abrev]))

(defui Th
  "1. {:keyfn ...} can only use keys specified by (om/props this)
