You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Explicit connections prevent composition. So wrap all db functions in
a fn that checks if a connection exists, and only if not does it make one
that way the outermost fn that needs a db creates the connection and those
internal use it."
maybe the link could also be helpful for adding basic transaction-management.
The text was updated successfully, but these errors were encountered:
improvement ?
see: http://boss-level.com/?p=96, http://gist.github.com/1177043
"Explicit connections prevent composition. So wrap all db functions in
a fn that checks if a connection exists, and only if not does it make one
that way the outermost fn that needs a db creates the connection and those
internal use it."
maybe the link could also be helpful for adding basic transaction-management.
The text was updated successfully, but these errors were encountered: