/
githubmirror
/
sqlc
Обзор
Документация
Войти
/
githubmirror
/
sqlc
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
internal/endtoend/testdata/upsert/sqlite/query.sql
15 строк
342 B
Kyle Gray
test(endtoend): Split shema and queries (#2803)
04 окт 2023, 19:13
Не верифицирован
04 окт 2023, 19:13
5664224
Код
Авторство
О чём код?
/* name: UpsertLocation :exec */ INSERT INTO locations ( name, address, zip_code, latitude, longitude ) VALUES (?, ?, ?, ?, ?) ON CONFLICT(name) DO UPDATE SET name = excluded.name, address = excluded.address, zip_code = excluded.zip_code, latitude = excluded.latitude, longitude = excluded.longitude;