Closed bohdand-weka closed 2 months ago
This is far too complicated to merge to this project at this point. go-pg is basically maintenance mode only, and while Vladimir let me take over some of this stuff as I use go-pg heavily for work. At this point I might as well be the only maintainer, and this PR is too much for me to want to take on if something doesn't go well in the future. It's too large of a feature to add.
I'm sorry, I would really recommend forking go-pg and adding these features there and periodically pulling from upstream if there are any fixes.
@elliotcourant we already made fork for us , this PR is just to share it with upstream (might be useful for others)
Right now ExcludeColumn works only for simple cases, for example
will not exclude this column.
By using regexp for parsing alias and column in exclude column method it will be possible to exclude more complex selectors, also added support for
SafeQueryAppender