From 6aed2f7108a9aafb22805d306d082a71222e974a Mon Sep 17 00:00:00 2001 From: Jcharis Date: Fri, 11 Oct 2024 18:39:37 +0200 Subject: [PATCH] @JuliaRegistrator register --- README.md | 2 -- src/Jorm.jl | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index be04916..5c0ac4b 100644 --- a/README.md +++ b/README.md @@ -131,8 +131,6 @@ result = Jorm.getfirst(db, BlogArticle,"title", "First Title") println(result) - - for row in results println(row.id) println(row.content) diff --git a/src/Jorm.jl b/src/Jorm.jl index 498f03e..9a81895 100644 --- a/src/Jorm.jl +++ b/src/Jorm.jl @@ -425,7 +425,7 @@ end """ getfirst(db::SQLite.DB, model, column,value) - Returns a given model object when given the column and the search value + Returns a given model object when given the column and the value to search for """ function getfirst(db::SQLite.DB, model, column::String,value) query = getfirst_sql(model,column)