mirror of
https://github.com/zadam/trilium.git
synced 2025-10-06 13:39:51 +08:00
sql console reports successful execution (useful when query doesn't produce any result set like in update/delete)
This commit is contained in:
parent
dd69e0135b
commit
04063d8a9c
2 changed files with 4 additions and 1 deletions
|
@ -28,6 +28,9 @@ const sqlConsole = (function() {
|
||||||
showError(result.error);
|
showError(result.error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
showMessage("Query was executed successfully.");
|
||||||
|
}
|
||||||
|
|
||||||
const rows = result.rows;
|
const rows = result.rows;
|
||||||
|
|
||||||
|
|
|
@ -165,7 +165,7 @@
|
||||||
<input id="jump-to-note-autocomplete" style="width: 100%;">
|
<input id="jump-to-note-autocomplete" style="width: 100%;">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button name="action" value="jump" class="btn btn-sm">Jump</button>
|
<button name="action" value="jump" class="btn btn-sm">Jump (enter)</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue