http://stuartsierra.com/2013/03/29/perils-of-dynamic-scope is a good
read around this subject.
On 21 March 2015 at 21:47, coco wrote:
> Hi guys, I'm curious about how work some codes with binding and dynamics
> vars, for instance, in sqlkorma you define your db settings
>
> (defdb prod (postgres
Hi guys, I'm curious about how work some codes with binding and dynamics
vars, for instance, in sqlkorma you define your db settings
(defdb prod (postgres {:db "korma"
:user "db"
:password "dbpass"}))
and then you can use other functions like this
(select user
(with address)
(fields :firstName :
Hi guys, I'm curious about how work some codes with binding and dynamics
vars, for instance, in sqlkorma you define your db settings
(defdb prod (postgres {:db "korma"
:user "db"
:password "dbpass"}))
and then you can use other functions like this