ionel anton
636b977457
Column details for postgres. ( #5380 )
2017-02-13 09:09:43 +01:00
Dominik Picheta
6ca9e5cbcc
Improved documentation for all db modules.
2016-01-18 13:34:53 +00:00
Dominik Picheta
a34206fe84
More postgres test code. Added getValue for PreparedStmts.
...
Ref #3569 . Ref #3560 .
2016-01-18 13:19:07 +00: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
Anatoly Galiulin
c017904363
Fixed issue 3513: wrong setupQuery realization
2015-11-06 10:24:23 +06:00
Dominik Picheta
82f3cab1ac
Improved postgres docs and added untestable tests.
2015-10-27 11:06:00 +01:00
JamesP
a82b9cbda3
fix doco by removing extra ` chars, change a word and
...
line up multi-line text
2015-10-27 11:06:00 +01:00
JamesP
02d882cfbe
add doco outlining the two SQL parameter substitution mechanisms for the db_postgres module
...
adjust doco note: indent by one space
shorten doco example lines, by splitting across multiple lines
shorten doco line widths by splitting long lines into multi-lines
fix to prepare() example in doco "Note:" section
2015-10-27 11:05:59 +01:00
JamesP
033c461a87
setupQuery() with SqlQuery take parameter substitution with "?"
...
add instantRows() with SqlPrepared parameter
fix setupQuery() for SqlQuery to produce a unique identiying query name
add rows() iterator with SqlPrepared parameter
add execAffectedRows for SqlPrepared
2015-10-27 11:05:59 +01:00
JamesP
b2a48b0ed6
tryExec() with SqlQuery now takes "?" substitution parameters
...
add tryExec() with SqlPrepared parameter
exec() with SqlQuery now expects "?" parameter substitution
2015-10-27 11:05:59 +01:00
JamesP
4e19106221
add check to dbFormat() to verify parameter substitution has "?" identifier
...
add check to prepare() that parameter substitution has "$1" identifier
2015-10-27 11:05:59 +01: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
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
Guillaume Gelin
3119fe087d
Happy new year!
2015-01-06 15:26:33 +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
2a203e5340
Add comment.
2014-10-21 15:56:00 +01:00
Araq
a9a5766c66
docgen should work again
2014-10-05 03:06:19 +02:00
Araq
fc47c0edc7
Merge branch 'devel' of https://github.com/Araq/Nimrod into bigbreak
...
Conflicts:
lib/impure/db_postgres.nim
lib/pure/os.nim
lib/wrappers/postgres.nim
2014-10-04 19:40:23 +02:00
Milos Negovanovic
f59ac26b85
Tweaks for postgres driver (not tested yet).
2014-09-26 11:23:13 +01:00
Araq
d4bc11b654
cleaned up various modules
2014-09-19 00:54:01 +02:00
Dominik Picheta
0047172274
More docgen fixes.
2014-09-13 16:45:07 +01:00
Erwan Ameil
08f1c6100b
Add postgresql prepared queries and stop relying on string formatting
...
for sql parameter passing
2014-08-29 11:29:19 +02:00
Araq
4523b29d7a
Nimrod renamed to Nim
2014-08-28 09:59:26 +02:00
Araq
d05df2173b
Nimrod renamed to Nim
2014-08-28 09:50:51 +02:00
Araq
346443d1b5
case consistency improvements
2014-01-11 21:56:05 +01:00
Hitesh Jasani
20661c9c46
Add docs for connecting to postgres with keyword/value connection
...
strings.
2013-12-04 14:01:25 -05: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
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
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
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
eca05d2a33
cleanup of library docs
2010-02-04 00:47:59 +01:00
Andreas Rumpf
ecb5a8db99
bugfixes for the high-level postgreSQL wrapper
2010-01-29 01:50:39 +01:00
Andreas Rumpf
324b1e9d21
bugfix: fd_set mustn't be prefixed with struct
2010-01-14 00:05:02 +01:00
Andreas Rumpf
f265c3e866
bugfix: inconsequent tuple usage
2009-12-09 00:41:55 +01:00
Andreas Rumpf
196ef92c86
bug concerning constant evaluation fixed
2009-11-26 00:32:07 +01:00
rumpf_a@web.de
053309e60a
version 0.8.2
2009-10-21 10:20:15 +02:00