mirror of
https://github.com/zadam/trilium.git
synced 2026-01-06 23:42:15 +01:00
basic support for internal links
This commit is contained in:
@@ -17,6 +17,7 @@ def connect(documentPath):
|
||||
conn.row_factory = dict_factory
|
||||
|
||||
def insert(tablename, rec):
|
||||
# FIXME: SQL injection!
|
||||
keys = ','.join(rec.keys())
|
||||
question_marks = ','.join(list('?'*len(rec)))
|
||||
values = tuple(rec.values())
|
||||
|
||||
Reference in New Issue
Block a user