Skip to content

issues Search Results · repo:sqlc-dev/sqlc language:Go

Filter by

1.8k results
 (77 ms)

1.8k results

insqlc-dev/sqlc (press backspace or delete to remove)

What do you want to change? Support RETURNING statement with :copyfrom Example: -- name: CreateSignalsAndReturnUuid :copyfrom INSERT INTO metadata.signals (slug, name, description) VALUES ($1, $2, $3) ...
📚 postgresql
enhancement
  • iiacoban42
  • Opened 
    yesterday
  • #4165

Version 1.30.0 What happened? I ran sqlc generate, and it failed with the error But I only have one .sql file (sqlc/query.sql), and inside it there’s only a single query named CreateUser and the other ...
📚 sqlite
bug
💻 linux
🔧 golang
  • Stan-breaks
  • Opened 
    yesterday
  • #4164

Version 1.30.0 What happened? Given the following tables: create table everflow_admin.customer_contract ( ... `status` enum( active , done , early_terminated , deleted , pending ) not null, ... ...
📚 mysql
bug
💻 darwin
🔧 golang
  • olivierboucher
  • Opened 
    yesterday
  • #4162

@kyleconroy What do you think of using an external database engine as a plugin, similar to a database/sql or GORM (for example using _ import for register engine)? Originally posted by @asmyasnikov in ...
🔧 golang
  • asmyasnikov
  • Opened 
    4 days ago
  • #4158

Version 1.30.0 What happened? The included schema and query generates a function with this signature: func (q *Queries) ListAttachmentsByReplySlice(ctx context.Context) ([]ListAttachmentsByReplySliceRow, ...
📚 mysql
bug
💻 linux
🔧 golang
  • b3lrog
  • Opened 
    5 days ago
  • #4156

I want to generate sql.NullFloat64 but got interface{}. How can I get the correct type? Here is my query.sql and schema.sql. query.sql -- name: ListTest :many SELECT (a1 / 1024) a1_float, (a2 / ...
🔧 golang
  • hts0000
  • 2
  • Opened 
    8 days ago
  • #4153

Version 1.30.0 What happened? Extra reproduction steps: - clone this repo and apply the migrations - mkdir -p sqlc_gen/schema sqlc_gen/queries - pg_dump --schema-only schema/schema.sql Relevant ...
📚 postgresql
bug
💻 linux
🔧 golang
  • phdavis1027
  • 1
  • Opened 
    8 days ago
  • #4152

What do you want to change? Hello, I am wondering if :copyfrom supports ON_ERROR? With sqlc v1.30.0 I receive syntax error at or near ON_ERROR for a statment like: -- name: InsertKeyValues :copyfrom ...
📚 postgresql
enhancement
  • tburgin
  • Opened 
    9 days ago
  • #4151

What do you want to change? Short version: I don t understand why emit_pointers_for_null_types is not enabled when using lib/pq as the driver. It seems like it should work just fine. Longer version: ...
enhancement
  • slarse
  • 1
  • Opened 
    14 days ago
  • #4145

What do you want to change? I ve mentioned, that sqlc diff behaves differently on file change / removal. As far as both changing / deleting file will cause the generated code to be invalid, it might be ...
enhancement
🔧 golang
  • rglKali
  • Opened 
    15 days ago
  • #4143
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.