@k_omotani If you add more schema update statements, sqlc will have to do more work. But it shouldn't be perceptible because the extra work is so small relative to everything else that sqlc does.
@gorilla0513 The documentation is unfortunately lacking. The plugin interface is essentially gRPC over stdin/stdout. A reasonable place to start is with our plugin SDK for Go (github.com/sqlc-dev/plugi…) which implements the interface. And for a full plugin example, see github.com/sqlc-dev/sqlc-….
@itishrishikesh Sorry to hear that. There are critical elements of sqlc that don't build on Windows, although we just merged a workaround using WASM so Windows should be fully supported in the next sqlc release. You can try it now if you go install from the main branch. github.com/sqlc-dev/sqlc/…
@knaka You might try overriding the timestamp database type with `pgtype.Timestamp` which doesn't require changing the database driver from `database/sql`.
docs.sqlc.dev/en/latest/howt…
@vlod@jamesqquick Could we convince you to try out our TypeScript plugin? It takes your raw SQL as input and generates TypeScript source code to access your database.
github.com/sqlc-dev/sqlc/…
@mikeschinkel@eatonphil@sqlc In case it's still relevant, we released sqlc-gen-go which is the sqlc internal Go codegen package extracted for use as an external plugin. Forking and modifying it to support alternative SQLite drivers should be easier than forking the entirety of sqlc.
github.com/sqlc-dev/sqlc-…
We've extracted the sqlc Go codegen package as a separate plugin called sqlc-gen-go. So now you can fork and modify sqlc's Go output without forking the entirety of sqlc.
sqlc.dev/posts/2023/11/…
@zztkm Are you writing a plugin in Go or something else? We will likely expose the internal/rpc interface soon so that a Go plugin can actually just implement the gRPC server interface directly and hand that to the sdk.
@voluntas What would supporting gRPC with sqlc look like? There is a community plugin, which maybe does something similar to what you have in mind? github.com/walterwanderle…
950 Followers 441 Followingshe/her |
Member of Technical Staff at @llama_index 🦙 |
Girly dev building AI things in python💅 | Cheating on python with Go and Rust🦫🦀
1K Followers 507 FollowingBackend Developer at @ParamountCo. Obsessed with programming since the early childhood. Writing TypeScript, Node.js, Go. Secretly in love with C and Assembly
13 Followers 498 FollowingNot sure what to put in this bio, but I think if I put something here it might make it look more like I’m a real person and not just a 🍔🤖.
374 Followers 617 FollowingSoftware engineer (and more) on a mission to bring fun back to the web. @fujoc0ded + @bobaboard founder, loves building random, chaotically-delightful stuff.
833 Followers 565 FollowingLLM user, previously @SierraPlatform, CEO @rizaio, COO @ngrokHQ, CEO @charge, before that @twilio. Fan of commitment mechanisms and incentive alignment.