Something went wrong. Try again.
A mapping language to compose SQL for Go.
Something went wrong. Try again.
1234567891011121314INSERT INTO authors (id, name) VALUES (1, 'Ursula K. Le Guin'), (2, 'Octavia E. Butler'), (3, 'N. K. Jemisin');
INSERT INTO books (id, title, author_id, status) VALUES (1, 'A Wizard of Earthsea', 1, 'published'), (2, 'Kindred', 2, 'published');
-- Explicit fixture IDs do not advance the identity sequence.SELECT setval(pg_get_serial_sequence('books', 'id'), (SELECT max(id) FROM books));
REFRESH MATERIALIZED VIEW author_book_counts;