-
Notifications
You must be signed in to change notification settings - Fork 20
Open

Description
I'm trying to compile a project using ormin, but I keep getting an error about an unknown selector: Error: unknown selector: feeds
. The full project is here, and relevant code is as follows:
import ormin
importModel(DbBackend.sqlite, "site_model")
var db {.global.} = open("stuff.db", "", "", "")
proc addFeed*(feedName: string): void =
#db.exec(sql"INSERT INTO feeds (feed_url) VALUES (?)", feedName)
query:
insert feeds("google")
The error is on line 10 of db.nim, which is the insert feeds("google")
line. I can't figure out what the issue is since I can get this working just fine with regular db_sqlite. Am I doing something wrong?
Metadata
Metadata
Assignees
Labels
No labels