Commit Graph

35 Commits

Author SHA1 Message Date
JamesP
0edb04288b Clean up a line ending 2015-09-06 23:02:28 +10:00
JamesP
9aa9920602 instantRows doco added "the" to improve readability 2015-09-06 22:40:15 +10:00
JamesP
5ae33434f8 fastRows() iterator doco updated (similar to db_mysql) with sqlite specific
[Edb] error text
2015-09-06 22:39:23 +10:00
JamesP
81e41dc795 Add example (similar to db_mysql) with changes to table definition
and transaction to match sqlite SQL syntax
2015-09-06 22:34:04 +10:00
Adam Strzelecki
43bddf62dd lib: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:03:56 +02:00
Adam Strzelecki
8742907133 db: InstantRow and instantRows
It is drop-in replacement for Row and fastRows, however instantRows returns a
handle, not seq[string], so no Nim string is created until [] operator is
called on the given handle. Also there is a len() proc returning number of
columns in the handle.

In some situations, when we iterate through many rows, but later we just read
few columns this solution will be quicker than converting all column to Nim
seq[string] on each iteration.
2015-06-09 20:53:03 +02:00
pdw
ea03fc6886 lib/impure - Dropped 'T' from types 2015-06-04 13:17:09 +02:00
Oleh Prypin
32109a7867 Don't run non-test code when defined(testing) 2015-04-21 14:37:29 +03:00
KeMeGe
171d51a08c move database encoding options to setEncoding(), leave open() as it is 2015-03-16 13:53:38 +08:00
KeMeGe
ca8102b96d Add character set options when opening DB connection 2015-03-14 15:21:38 +08:00
Araq
a41b62da97 fixes #1866 2015-01-10 23:52:29 +01:00
Araq
be813d205f updated db_sqlite.nim 2014-08-29 00:16:12 +02:00
Araq
d05df2173b Nimrod renamed to Nim 2014-08-28 09:50:51 +02:00
Grzegorz Adam Hankiewicz
d07f86b159 Avoids raising exceptions in tryInsertID. 2014-01-29 23:25:21 +01:00
Araq
383fbca27e better tester 2014-01-17 08:47:51 +01:00
Araq
4045d7829b fixes db_sqlite 2014-01-13 01:21:46 +01:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq
012a7b5522 Merge pull request #262 from gradha/pr_adds_some_documentation_to_db_modules
Documents NULL to "" db_* transformation and return values.
2012-11-24 17:54:04 -08:00
Grzegorz Adam Hankiewicz
cdd324d163 Documents NULL to "" db_* transformation and return values. 2012-11-24 20:41:26 +01:00
Araq
14fc0631d7 fixes #250 2012-11-19 00:16:25 +01:00
Araq
3c0a6a8962 'assert' hides EAssertionFailsure; stdlib makes use of 'tags' 2012-11-18 01:36:20 +01:00
Grzegorz Adam Hankiewicz
f35b9e2dc0 Adds $ as supplied proc to varargs in database modules. 2012-10-20 09:54:45 +02:00
Araq
8717742f00 bugfix: leak in db_sqlite.GetValue 2012-10-10 01:05:03 +02:00
Dominik Picheta
8f3dc6ebd3 Fixes segfault in db_sqlite. Fixes problems with times.format. 2012-10-07 15:37:12 +01:00
Araq
0171566c98 openarray/varargs split; breaks bootstrapping 2012-08-16 08:34:33 +02:00
Araq
4fbba0a65a changed integer promotion rules; breaks bootstrapping and lots of code 2012-07-08 21:03:47 +02:00
Araq
e95f155af3 small bugfixes; documentation generator supports smilies for the forum 2012-05-01 11:14:29 +02:00
Araq
ce1138dfa7 some code formating 2012-04-26 01:16:50 +02:00
Araq
afd8ca2f15 added db_*.getRow 2012-04-24 08:44:36 +02:00
Araq
b2746c4659 added system.setControlCHook, system.writeStackTrace 2012-02-19 23:37:37 +01:00
Araq
4f1b89c30c year 2012 for most copyright headers 2012-01-02 23:07:35 +01:00
Araq
4de84024e5 much more efficient rod file generation 2011-10-18 17:21:51 +02:00
Andreas Rumpf
41afb4ee58 bugfix: return type of gtk2.check_menu_item_new* 2010-03-17 18:58:34 +01:00
Andreas Rumpf
40ea1d0330 fixed pango/pangoutils new wrappers 2010-02-26 01:26:16 +01:00
Andreas Rumpf
f41bd71e61 SQLite wrapper 2010-02-24 01:04:39 +01:00