duct

jaihindhreddy 2019-01-25T14:44:33.050200Z

I'm unable to extend the Boundary record.

jaihindhreddy 2019-01-25T14:44:34.050500Z

(extend-type duct.database.sql/Boundary
  p/DB
    (upsert-posts [this posts]
      (jdbc/with-db-connection [conn (:spec this)]
        (-> (honey/insert-into :post)
            (honey/values posts)
            hon/format
            (update 0 str " on duplicate key update commentCount=values(commentCount), points=values(points)")
            jdbc/execute!))))

jaihindhreddy 2019-01-25T14:44:58.050800Z

says: No such var: duct.database.sql/Boundary

jaihindhreddy 2019-01-25T14:53:12.051500Z

Had to use duct.database.sql.Boundary. :picard-facepalm: Please ignore the noise.