We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f943fb0 commit c4a9fe2Copy full SHA for c4a9fe2
tests/test_emptystr.nim
@@ -0,0 +1,8 @@
1
+import easy_sqlite3
2
+import std/[unittest, tables]
3
+
4
+proc getEmptyString(): tuple[value: string] {.importdb: "SELECT ''".}
5
6
+test "get empty string":
7
+ var db = initDatabase(":memory:")
8
+ check db.getEmptyString() == (value: "")
0 commit comments