Kyle Gray

Results 45 issues of Kyle Gray

Given the following schema: ```sql CREATE TABLE foo ( bar INTEGER NOT NULL ); ``` It would seem that the correct way to override the type for the bar column...

bug
documentation
:books: postgresql

While MySQL supports the ANY operator, it does not support arrays. This means the [currently documented way](https://github.com/kyleconroy/sqlc/blob/master/docs/any.md) to pass slices to a query will not work.

enhancement
:books: mysql
:wrench: golang

sqlc, like protoc, aims to generate code for multiple languages. The second language we're looking to add is TypeScript. > ### Getting started > [!WARNING] > The TypeScript plugin (sqlc-gen-typescript)...

enhancement
new/codegen

### What do you want to change? For Go, sqlc will use a positional argument for a query if there's a single parameter. If there's more than one, it will...

enhancement
good first issue
accepted

These parameters should end up as `interface{}`, not `json.RawMessage`. ```sql CREATE TABLE "user" ( "id" INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "metadata" JSONB ) -- name: FindByAddress :one SELECT...

bug
:books: postgresql

### Version 1.14.0 ### What happened? Actually, NULLIF also smells bad. When using it in a query, the Go struct is generated with a field with a bool type, instead...

bug
:books: postgresql
:wrench: golang

## Reproducible Example ```go package main import ( "fmt" "github.com/jinzhu/inflection" ) func main() { // outputs "Metum" fmt.Println("Meta", inflection.Singular("Meta")) } ``` https://play.golang.org/p/MQUTqDKmndH ## Description

I'm using gomemcache with [Memcachier](https://www.memcachier.com) and having issues. Memcachier requires authentication, which as far as I understand, means that I also have to use the memcache binary protocol. Any help?

feature-request

First off, wanted to say thanks for such a great project. While the issue title may sound like a feature request, the code generated by vtprotobuf already works with TinyGo....

When parsing a invalid query, `Parse` returns an error string starting with "syntax error ...". Would it be possible to get the offset of the syntax error, similar to [SyntaxError](https://golang.org/pkg/encoding/json/#SyntaxError)...