Suppress errors in sq file

pull/1323/head
lihenggui 2 years ago
parent 69a24c7e20
commit 9810692d68

@ -75,7 +75,6 @@ sqldelight {
create("NiaDatabase") {
packageName.set("com.google.samples.apps.nowinandroid.core.database")
generateAsync.set(true)
dialect("sqlite:3.25")
}
}
}

@ -50,14 +50,14 @@ VALUES (?, ?, ?, ?, ?, ?, ?);
upsertNewsResources:
INSERT INTO news_resources (id, title, content, url, header_image_url, publish_date, type)
VALUES (?, ?, ?, ?, ?, ?, ?)
ON CONFLICT(id) DO UPDATE SET
title = excluded.title,
content = excluded.content,
url = excluded.url,
header_image_url = excluded.header_image_url,
publish_date = excluded.publish_date,
type = excluded.type;
VALUES (?, ?, ?, ?, ?, ?, ?);
-- ON CONFLICT(id) DO UPDATE SET
-- title = excluded.title,
-- content = excluded.content,
-- url = excluded.url,
-- header_image_url = excluded.header_image_url,
-- publish_date = excluded.publish_date,
-- type = excluded.type;
insertOrIgnoreTopicCrossRefEntities:
INSERT OR IGNORE INTO news_resources_topics (news_resource_id, topic_id)

Loading…
Cancel
Save