Commit Graph

45 Commits

Author SHA1 Message Date
pgkos
481d8ba24a Fix segfault in db_mysql fastRows (#5605) 2017-03-26 09:42:15 +02:00
Dominik Picheta
6ca9e5cbcc Improved documentation for all db modules. 2016-01-18 13:34:53 +00:00
Andreas Rumpf
3313170b8d fixes InstantRow decl; implements column information retrival for db_mysql 2015-12-17 14:39:40 +01:00
Andreas Rumpf
a3c8bb9376 updated db*.nim modules 2015-12-16 21:24:13 +01:00
Andreas Rumpf
cb10f30656 big update for the db*.nim modules; uses new db_common.nim 2015-12-16 20:56:12 +01:00
Dominik Picheta
d7c60e86b4 Bold emphasis and fix typo. 2015-09-05 21:15:01 +01:00
JamesP
22d56fc494 Cleanup of line endings 2015-09-05 11:49:25 +10:00
JamesP
d02d1219b0 instantRows doco updated with "the" to improve readability 2015-09-05 11:48:47 +10:00
JamesP
5b11ce27c4 fastRows iterator doco updated to clarify what happens
when break a fastRows loop
2015-09-05 11:47:28 +10:00
JamesP
da2d0845b8 lib/impure/db_mysql add example code-block 2015-08-29 07:50:14 +10:00
JamesP
1b47941b01 fixes #3220 lib/impure/db_mysql.nim getValue()
mysql connector command out of sync error due to
breaking the fastRows iterator loop
2015-08-28 22:51:35 +10: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
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
Hans Raaf
ceffdebebb Corrected warnings about deprecated names
I got warning about deprecated names here. I also know that other names probably need to change (T/P prefixes) but I am unsure about the exact rules. I may do that later if you like.
2015-02-11 21:38:55 +01:00
Araq
994f7c1f0b changed formating 2014-12-08 19:49:20 +01:00
Araq
adad2d5f4a Merge branch 'devel' into bigbreak
Conflicts:
	lib/impure/db_postgres.nim
	lib/pure/json.nim
	lib/pure/math.nim
	lib/system/atomics.nim
2014-11-03 11:42:36 +01:00
Milos Negovanovic
11a2cfb306 Add comment. 2014-10-21 15:55:02 +01:00
Dominik Picheta
0047172274 More docgen fixes. 2014-09-13 16:45:07 +01:00
Araq
d05df2173b Nimrod renamed to Nim 2014-08-28 09:50:51 +02:00
Milos Negovanovic
434dcd7166 Preserve nil <-> NULL between Nimrod and database. 2014-08-20 10:24:36 +01:00
def
089387c525 Add missing sql proc for db_mysql 2014-07-14 03:49:15 +02:00
Miguel
51d2384e1a Fix for db_mysql.Open. 'Connection' argument in 'Open' was not used, so MySQL host and port were always default ones. Now 'Connection' is treated as 'host:port'. 2014-02-10 18:41:39 +04:00
Miguel
a8b4e3c764 Merge branch 'devel' of git://github.com/Araq/Nimrod 2014-01-26 05:37:18 +04:00
Araq
346443d1b5 case consistency improvements 2014-01-11 21:56:05 +01:00
Miguel
4396270fc7 'Connection' argument in 'Open' was not used, so MySQL host and port were always default ones. Now 'Connection' is treated as 'host:port'. 2013-12-22 20:56:33 +04: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
0171566c98 openarray/varargs split; breaks bootstrapping 2012-08-16 08:34:33 +02:00
Araq
e95f155af3 small bugfixes; documentation generator supports smilies for the forum 2012-05-01 11:14:29 +02:00
Araq
afd8ca2f15 added db_*.getRow 2012-04-24 08:44:36 +02:00
Araq
4f1b89c30c year 2012 for most copyright headers 2012-01-02 23:07:35 +01:00
Andreas Rumpf
41afb4ee58 bugfix: return type of gtk2.check_menu_item_new* 2010-03-17 18:58:34 +01:00
Andreas Rumpf
b559285b78 examples/lib use the new wrappers 2010-02-28 23:04:18 +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
rumpf_a@web.de
40a5d6c3b9 continued work on html/xmlparser 2010-02-14 00:29:35 +01:00
Andreas Rumpf
fd522aa406 httpserver supports a fixed port number 2010-02-06 12:24:54 +01:00
Andreas Rumpf
eca05d2a33 cleanup of library docs 2010-02-04 00:47:59 +01:00
Andreas Rumpf
e20293818c db_mysql.nim added 2010-01-29 08:09:23 +01:00