Assign $$db once to the prototype, instead of every time a new JDBModel is instantiated.
Assign $$db once to the prototype, instead of every time a new JDBModel is instantiated.

trivialsoftware/trivialdb,Morgul/trivialdb,boneskull/trivialdb