Create a task

Lets write a function to create tasks in the database

(defn create-task [task-name]
  (sql/insert! postgres
               :tasks [:body] [task-name])
  (println task-name))

results matching ""

    No results matching ""