Skip to content

Add LEFT/RIGHT JOINS  #22

Closed
Closed
@stefanosusini

Description

@stefanosusini

Just like this:
common.Select().from('table1')
.from('table2', 'id2', 'table1', 'id1', 'LEFT').fun('AVG', 'col').build();

"SELECT AVG(t2.col) FROM table1 t1
LEFT JOIN table2 t2 ON t2.id2 = t1.id1"

thanks

Activity

athlan

athlan commented on Sep 1, 2014

@athlan

Ping.

added 2 commits that reference this issue on Mar 22, 2015
dxg

dxg commented on Mar 22, 2015

@dxg
Collaborator

This has been implemented and published in version 0.1.25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      Add LEFT/RIGHT JOINS · Issue #22 · dresende/node-sql-query