Adrian Tiberius 2c3eec3c43 added database migration functionality
Former-commit-id: a6f63a5b5f2ec8fbecd07f975694d2fbb94f1137
2016-10-04 18:29:41 +03:00

14 lines
365 B
Clojure

(ns status-im.data-store.accounts
(:require [status-im.data-store.realm.accounts :as data-store]))
(defn get-all []
(data-store/get-all-as-list))
(defn get-by-address [address]
(data-store/get-by-address address))
(defn save [account update?]
(data-store/save account update?))
(defn save-all [accounts update?]
(data-store/save-all accounts update?))