Replies: 2 comments
-
see. https://github.com/WDscholia/scholia/tree/master/scholia/app/templates for how scholia does it |
Beta Was this translation helpful? Give feedback.
0 replies
-
see #113 qm=QueryManager(lang='sql',debug=False)
qm.queriesByName["getEventsBySeriesId"]
params={
"SERIES_ID":seriesId
}
sql_query=query.getQuery(params)
listOfDicts=sqlDB.query(sql_query)
resultDoc=query.documentQueryResult(listOfDicts) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Candidates:
$Var$
does not appear in SQL outside of strings.utf-8
characters e.g «Var» no conflics with asci characters<Var>
compatible to Backus-Naur notation<?Var?>
similar to php{{Var}}
used similarly in scholia and Jinja2 see https://stackoverflow.com/a/4181605/1497139Should escape characters frame variable name on each side?
Beta Was this translation helpful? Give feedback.
All reactions