Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAX example does not work #69

heri16 opened this issue Jul 14, 2018 · 1 comment


None yet
2 participants
Copy link

commented Jul 14, 2018

    {name: "bill", age: 20},
    {name: "bob", age: 25},
    {name: "jeb", age: 27}
]).query("select", ["name", "MAX(age) AS age"]).exec().then((rows) => {
    console.log(rows); // <= [{name: "jeb", age: 27}]

Returns {name: "bill", age: 27} for me


This comment has been minimized.

Copy link

commented Jul 20, 2018

1.7.1 resolved this issue, also added a test so this doesn't come up again.

@ClickSimply ClickSimply added the bug label Jul 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.