Skip to content

v0.6.0 Cloned statement doesn't have postgres methods #21

Description

@FanFataL

Hi,

After upgrading from 0.5.0 into 0.6.0 cloned statements stops working.

Steps to reproduce:

const query = sql.select().from('user');
query.limit(10); // <--- this is working
const query2 = query.clone();
query2.limit(10); // <--- this not working in 0.6.0 (limit is not a function)

Probably upgrading sqlBricks to v3 makes this issue.

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