Sha256: 8018053639e973ffd379f36e0af8a08692d2b7481688d40a85a5069ab7cbcf4b

Contents?: true

Size: 182 Bytes

Versions: 4

Compression:

Stored size: 182 Bytes

Contents

<%-
import 'datastore'
-%>

func (s *<%= type.name %>) Query() *datastore.Query {
	q := datastore.NewQuery(s.KindName())
	if s.Binder != nil {
		q = s.Binder.Query(q)
	}
	return q
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
goon_model_gen-0.4.3 lib/goon_model_gen/templates/store/goon/05_Query.go.erb
goon_model_gen-0.4.2 lib/goon_model_gen/templates/store/goon/05_Query.go.erb
goon_model_gen-0.4.1 lib/goon_model_gen/templates/store/goon/05_Query.go.erb
goon_model_gen-0.4.0 lib/goon_model_gen/templates/store/goon/05_Query.go.erb