Skip to content

Using Schemas #9

@shalomabitan

Description

@shalomabitan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions