Fixed compilation warnings; added nakefile.nim to skipFiles.
h3rald h3rald@h3rald.com
Fri, 06 Oct 2017 22:02:49 +0200
2 files changed,
5 insertions(+),
4 deletions(-)
M
lib/core.nim
→
lib/core.nim
@@ -21,13 +21,13 @@ # Manage Datastores
var LS_TRANSACTION = false -proc createIndexes(db: TDbConn) = +proc createIndexes(db: DbConn) = db.exec SQL_CREATE_INDEX_DOCUMENTS_DOCID db.exec SQL_CREATE_INDEX_DOCUMENTS_ID db.exec SQL_CREATE_INDEX_TAGS_TAG_ID db.exec SQL_CREATE_INDEX_TAGS_DOCUMENT_ID -proc dropIndexes(db: TDbConn) = +proc dropIndexes(db: DbConn) = db.exec SQL_DROP_INDEX_DOCUMENTS_DOCID db.exec SQL_DROP_INDEX_DOCUMENTS_ID db.exec SQL_DROP_INDEX_TAGS_TAG_ID@@ -279,7 +279,7 @@ return (data: raw_document[1], contenttype: raw_document[2])
proc retrieveRawDocuments*(store: Datastore, options: var QueryOptions = newQueryOptions()): JsonNode = var select = prepareSelectDocumentsQuery(options) - var raw_documents: seq[TRow] + var raw_documents: seq[Row] if options.folder != "": raw_documents = store.db.getAllRows(select.sql, options.folder & "%") else:
M
litestore.nimble
→
litestore.nimble
@@ -5,6 +5,7 @@ author = "Fabio Cevasco"
description = "Self-contained, lightweight, RESTful document store." license = "MIT" bin = "litestore" +skipFiles = @["nakefile.nim"] [Deps] -requires: "nimrod >= 0.13.0" +requires: "nimrod >= 0.17.2"