go-jet

Results 152 comments of go-jet

Fixed with 2.9.0 release.

Hi @lawrencejones. It is possible to change field name with [generator customization](https://github.com/go-jet/jet/wiki/Generator#generator-customization). Similar test: https://github.com/go-jet/jet/blob/f2e4b8551c48b97d0cd2d3deff47dc1b2aa2f04e/tests/postgres/generator_template_test.go#L359 In your case to change SQL builder view field, generator should be something like: ```golang...

@khalidalkassoum Thanks for sharing. Interesting library. The idea is to have as little as possible third party dependencies, and add dependency only when there is no other option. This why...

@khalidalkassoum Thanks for the explanation. I'll definitely take a closer look at FDW.

FTW looks like interesting feature. The only drawback I see is that programmer will have to define all foreign tables in PostgreSQL, before it can call `jet` generator. Which isn't...

Hi @gnz00 . The first solution is already implemented - [wiki](https://github.com/go-jet/jet/wiki/Query-Result-Mapping-(QRM)#tagging-model-type-fields). If you set `alias:"-"` for a field, that field will be ignored from the scan. It doesn't have to...

`http.Header` is a map type. Scan currently supports only base types, structs, arrays and types that implements `Scanner` interface. Also, I don't think `http.Header` is intended to be used directly...

Setting alias to `"-"`, it doesn't mean that field should be skipped. It just means those type fields should expect projection in form "-.". If there are no such projection...