Created
November 8, 2013 23:40
-
-
Save BitPuffin/7379399 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.Exec(sql""" | |
create table if not exists user( | |
id $, | |
email $, | |
username $, | |
first_name $, | |
last_name $, | |
admin bool default false | |
) | |
""" % [TId, TEmail, TUserName, TFirstName, TLastName], []) | |
Hint: used config file '/home/isak/src/softlib/Nimrod/config/nimrod.cfg' [Conf] | |
Hint: system [Processing] | |
Hint: mkdb [Processing] | |
Hint: db_sqlite [Processing] | |
Hint: strutils [Processing] | |
Hint: parseutils [Processing] | |
Hint: sqlite3 [Processing] | |
mkdb.nim(30, 4) Error: type mismatch: got (TSqlQuery, Array constructor[0..4, string]) | |
but expected one of: | |
strutils.%(formatstr: string, a: string): string | |
strutils.%(formatstr: string, a: openarray[string]): string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment