node.js - krakenjs and node postgres -


How do I set up node-postgrads using krakenjs? I want to take advantage of node-postgraze connection pooling, which requires customer and done parameters, I think I can use them global variables, But I want to pass them as an object. Is this a good way to gain?

You can enter onconfig in Kraken (1.0) configuration, or Nconf (kreaken 0.7).

Then to pass it - you can attach it to the app (Kraken 0.7), or you can add it to the configuration in onconfig .

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -