Closed arcanique closed 3 years ago
use Parse method: ` import pq "github.com/pganalyze/pg_query_go/v2"
func main() { sql := "select * from x where y != 0" result, err := pq.Parse(sql) fmt.Printf("%+v, %+v\n",result,err) } ` In the result, the inequality sign ‘!=’ becomes to '<>'
Has anyone encountered this problem
use Parse method: ` import pq "github.com/pganalyze/pg_query_go/v2"
func main() { sql := "select * from x where y != 0" result, err := pq.Parse(sql) fmt.Printf("%+v, %+v\n",result,err) } ` In the result, the inequality sign ‘!=’ becomes to '<>'
Has anyone encountered this problem