Elliot Courant

Results 185 comments of Elliot Courant

It looks like the `:version-script` is not being executed in the working directory of the project. If I change the script to be: ``` :version-script "echo $PWD > ~/debug.txt" ```...

If I remember correctly, all the table names are in the parse tree at the same type. I have a method (albeit ugly) that uses reflect to return a list...

Here is an example test to help. ```go import ( "github.com/lfittl/pg_query_go" pg_query2 "github.com/lfittl/pg_query_go/nodes" "github.com/stretchr/testify/assert" "testing" ) var ( tableTestQueries = []struct { Query string Tables []string }{ { Query: "SELECT...

@weiboyiyou are you still looking for examples?

What is the actual SQL query generated from ```go count, err := db.NewSelect(). Model(&[]*B{}). Relation("A", func(q *bun.SelectQuery) *bun.SelectQuery { return q.Where("name = ?", "someName") }). Count(ctx) ``` If you are...

Please format the example in your issue using markdowns code feature: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code

What queries and indexes are you planning on using that makes that primary key more efficient that the absolute unique row identifier should not be the primary key, but instead...

Would you be able to provide a simple code example of what you're trying right now and how you would like it to behave?

It looks like if you add `Column("_")` to your query before the `ColumnExpr("json_agg(tags) as tags, resume.*").` it should fix it.

It looks like you are logging the value of the byte array passed to `UnmarshalJSON`, what is that log entry say the value is? Could you also include a stack...