I think this is brilliant!
Hoping to use it in my next project.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
To
Vasiliy,
Take a look at the supported examples. sqlc has no problem handling five
joins and a having clause.
Kyle
On Wednesday, December 11, 2019 at 12:18:20 PM UTC-8, Vasiliy Tolstov wrote:
>
> Thanks! But how about real world cases like joining 5 tables and using
> having and other stuff?
Thanks! But how about real world cases like joining 5 tables and using
having and other stuff?
ср, 11 дек. 2019 г. в 22:48, :
>
> Hey gophers,
>
> I'm excited to announce sqlc, my project for turning SQL into type-safe Go.
> With sqlc, the following SQL:
>
>
> CREATE TABLE authors (
> id
Hey gophers,
I'm excited to announce sqlc, my project for turning SQL into type-safe Go.
With sqlc, the following SQL:
CREATE TABLE authors (
id BIGSERIAL PRIMARY KEY,
name text NOT NULL, bio text
);
-- name: GetAuthor :one
SELECT * FROM authors WHERE id = $1 LIMIT 1;
gets turned into