1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
call apoc.help('apoc')
call apoc.help('format')
RETURN apoc.date.format(timestamp()) as time, apoc.date.format(timestamp(),'ms','yyyy-MM-dd') as date, apoc.date.parse('13.01.1975','s','dd.MM.yyyy') as unixtime, apoc.date.parse('2017-01-05 13:03:07') as millis
WITH "jdbc:mysql://localhost:3306/northwind?user=root" as url CALL apoc.load.jdbc(url,"products") YIELD row RETURN row ORDER BY row.UnitPrice DESC LIMIT 20
UNWIND ['紫霞仙子'] AS names match (n:Person)-[r]-(m:Movie) where apoc.coll.contains(r.roles,names) return n,m
|