Skip to content

Commit

Permalink
Merge pull request #25 from nevermore3/iu6
Browse files Browse the repository at this point in the history
update iu6
  • Loading branch information
nevermore3 committed Aug 8, 2022
2 parents fb27466 + 131d2a1 commit 73d4c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nebula/queries/interactive-update-6-add-post.ngql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
INSERT VERTEX IF NOT EXISTS
Post(creationDate, locationIP, browserUsed, language, content, imageFile, length)
VALUES
$postId:($creationDate, $locationIP, $browserUsed, $language, CASE $content == '' WHEN true THEN NULL ELSE $content END, CASE $imageFile == '' WHEN true THEN NULL ELSE $imageFile END, $length)
$postId:($creationDate, $locationIP, $browserUsed, $language, $content, $imageFile, $length)

0 comments on commit 73d4c43

Please sign in to comment.