     "Remove some records from the table, identified by a collection of id keys.
     Returns an updated table.")
 
+  (dirty?
+    [table]
+    "Return true if the table has local non-persisted modifications.")
+
   (flush!
     [table]
     [table opts]

    table))


(defn- flush-changes
  "Returns a vector containing a link to a patch tablet and an index tree."
  [^Table table full?]

   :read -read
   :insert -insert
   :delete -delete
   :dirty? -dirty?
   :flush! -flush!})



;; ## Utility Functions

(defn table-stats
  "Calculate statistics about the structure of the given table."
