pg-live-select icon indicating copy to clipboard operation
pg-live-select copied to clipboard

Using Schemas

Open shalomabitan opened this issue 9 years ago • 0 comments

Does the package support using schemas?

// Instantiate LivePg class
var liveDb = new LivePg(app.get('db_url') + '?ssl=true', 'myapp');

// Create a live select instance
liveDb.select('SELECT * FROM connect.contact').on('update', function(diff, data) { ... });

breaks with this error

$ statement: DROP TRIGGER IF EXISTS "myapp_contact" ON "contact"
$ relation "contact" does not exist, skipping

So I was wondering if there is anything that I would have to tweak in order to make this work for a pg database with schemas.

Thanks

shalomabitan avatar Feb 29 '16 20:02 shalomabitan