Good day. I want to wrap the query below in a function with a parameter.
match p=((p1:p1)-[l]-(p2:p1)) where (p1.id in [269618,387956,390435,1178574,263256])