(tx)
| 195 | return tx.run(query, {"parent_uuid": parent_uuid, **properties}).single()["c"] |
| 196 | |
| 197 | def setupSourceChunks(tx): |
| 198 | query1="""match (c:Chunk)-[]-(p:Page)-[]-(d:Document) where c.source is null |
| 199 | set c.source=p.Name + ', PDF ' + d.SourceUrl""" |
| 200 | |
| 201 | query2="""match (c:Chunk)-[]-(p:Page)-[]-(d:Document) |
| 202 | set c.source=p.Uuid""" |
| 203 | return tx.run(query2) |
| 204 | |
| 205 |
nothing calls this directly
no outgoing calls
no test coverage detected