Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.

[sqlgen] Select: add filter support #4

Open
douglascamata opened this issue Mar 25, 2012 · 0 comments
Open

[sqlgen] Select: add filter support #4

douglascamata opened this issue Mar 25, 2012 · 0 comments

Comments

@douglascamata
Copy link
Member

Should be able to generate sql to a Select with filters. Maybe it could look like this:

type Person struct {
    Name string
    Age int
}

var p Person
filter := map[string]string {
    "Age": "25"
}

person = Select(p, filter)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant