LoginSignup
0
0

More than 1 year has passed since last update.

CypherクエリのTipsメモ

Posted at

OneToManyの値を1レコードで取得する

MATCH (s: Shop)
RETURN s, [(s)-[r: HAS]->(i: Item) | i.id] as itemIds

日付形式のstringをdateに変換する

RETURN date(
  datetime({
    epochMillis: apoc.date.parse('2021-12-31','ms', 'yyyy-MM-dd')
  })
) as date

ラベル一覧を取得する

CALL db.labels()
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0