Giter Site home page Giter Site logo

gorq's People

Contributors

jon-mcmillan avatar nelsam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

outdoorsy

gorq's Issues

Endless Loop With Lower

type X struct {
    Name string
}

ref := new(X)
datastore.Query(ref).Where().Equal(Lower(&ref.Name), "foo").Select()

Code structured like this creates an endless loop in QueryPlan.argOrColumn at /gorq/plans/query_plans.go:288.

gorp maintainers

Hi nelsam,

Sorry for abusing the issue system here, I couldn't find any contact details.

The github.com/coopernurse/gorp repository has moved to it's own organization: go-gorp.
This happened because coopernurse doesn't have enough time to work on the open issues/PR's. Please see go-gorp/gorp#211.
I got involved because I'm using gorp in production at the company I work for, and I'm willing to help maintaining this project.

I'm contacting you because you have contributed to gorp before.
Would you consider joining the go-gorp organization as a maintainer? I definitely won't be able to do everything myself, your help is very welcome!

Cheers!
Geert-Johan Riemer

Mapping Structs With Only Anon Fields

Example

type Valid struct {
    Name string
}

type ValidAnon struct {
     Valid
}

Fails to map queries because of the error No fields in the target struct are mappable.. This is because it fails to include counts of queryableFields in the recursive calls.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.