Add another use case
freethejazz opened this issue · comments
Jonathan Freeman commented
I've been using this for query strings, like so(parameterized, in this case):
exports.upsertOne = multiline(function(){/*
MERGE (n:Person {screen_name: {screenName}})
ON CREATE SET n={userMap}
RETURN n
*/});
This is for an app I'm working on with Neo4j, so the query language is Cypher, but I imagine it'll have just as much value for other query languages, too.
Sindre Sorhus commented
Nice! Would you mind opening a PR with a link to that added in the usecase section?
Jonathan Freeman commented
For sure, I'll do it tonight after work.