summary refs log tree commit diff stats
path: root/lib/impure/db_postgres.nim
Commit message (Collapse)AuthorAgeFilesLines
* make tests green againAndreas Rumpf2017-11-071-13/+13
|
* Fixes #6571 (#6578)Thomas Johnson2017-10-241-8/+11
|
* db_postgres: Refactor open() behavior to be consistent with other DBs (#6381)Lyndsy Simon2017-09-151-4/+7
|
* Column details for postgres. (#5380)ionel anton2017-02-131-15/+167
|
* Improved documentation for all db modules.Dominik Picheta2016-01-181-1/+4
|
* More postgres test code. Added getValue for PreparedStmts.Dominik Picheta2016-01-181-1/+12
| | | | Ref #3569. Ref #3560.
* updated db*.nim modulesAndreas Rumpf2015-12-161-1/+1
|
* big update for the db*.nim modules; uses new db_common.nimAndreas Rumpf2015-12-161-50/+37
|
* Fixed issue 3513: wrong setupQuery realizationAnatoly Galiulin2015-11-061-6/+2
|
* Improved postgres docs and added untestable tests.Dominik Picheta2015-10-271-43/+42
|
* fix doco by removing extra ` chars, change a word andJamesP2015-10-271-7/+7
| | | | line up multi-line text
* add doco outlining the two SQL parameter substitution mechanisms for the ↵JamesP2015-10-271-1/+55
| | | | | | | | | | | | 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
* setupQuery() with SqlQuery take parameter substitution with "?"JamesP2015-10-271-3/+32
| | | | | | | | | | 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
* tryExec() with SqlQuery now takes "?" substitution parametersJamesP2015-10-271-5/+11
| | | | | | add tryExec() with SqlPrepared parameter exec() with SqlQuery now expects "?" parameter substitution
* add check to dbFormat() to verify parameter substitution has "?" identifierJamesP2015-10-271-0/+4
| | | | add check to prepare() that parameter substitution has "$1" identifier
* lib: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-18/+18
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* db: InstantRow and instantRowsAdam Strzelecki2015-06-091-0/+21
| | | | | | | | | | | 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.
* lib/impure - Dropped 'T' from typespdw2015-06-041-43/+45
|
* move database encoding options to setEncoding(), leave open() as it isKeMeGe2015-03-161-3/+8
|
* Add character set options when opening DB connectionKeMeGe2015-03-141-2/+3
|
* Happy new year!Guillaume Gelin2015-01-061-1/+1
|
* Merge branch 'devel' into bigbreakAraq2014-11-031-4/+11
|\ | | | | | | | | | | | | | | Conflicts: lib/impure/db_postgres.nim lib/pure/json.nim lib/pure/math.nim lib/system/atomics.nim
| * Add comment.Milos Negovanovic2014-10-211-1/+2
| |
| * Tweaks for postgres driver (not tested yet).Milos Negovanovic2014-09-261-2/+8
| |
* | docgen should work againAraq2014-10-051-6/+6
| |
* | Merge branch 'devel' of https://github.com/Araq/Nimrod into bigbreakAraq2014-10-041-29/+83
|\| | | | | | | | | | | | | Conflicts: lib/impure/db_postgres.nim lib/pure/os.nim lib/wrappers/postgres.nim
| * Add postgresql prepared queries and stop relying on string formattingErwan Ameil2014-08-291-28/+84
| | | | | | | | for sql parameter passing
* | cleaned up various modulesAraq2014-09-191-5/+5
| |
* | More docgen fixes.Dominik Picheta2014-09-131-29/+29
| |
* | Nimrod renamed to NimAraq2014-08-281-2/+2
| |
* | Nimrod renamed to NimAraq2014-08-281-1/+1
|/
* case consistency improvementsAraq2014-01-111-11/+11
|
* Add docs for connecting to postgres with keyword/value connectionHitesh Jasani2013-12-041-0/+15
| | | | strings.
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* Merge pull request #262 from gradha/pr_adds_some_documentation_to_db_modulesAraq2012-11-241-4/+7
|\ | | | | Documents NULL to "" db_* transformation and return values.
| * Documents NULL to "" db_* transformation and return values.Grzegorz Adam Hankiewicz2012-11-241-4/+7
| |
* | fixes #250Araq2012-11-191-2/+2
|/
* 'assert' hides EAssertionFailsure; stdlib makes use of 'tags'Araq2012-11-181-15/+23
|
* Adds `$` as supplied proc to varargs in database modules.Grzegorz Adam Hankiewicz2012-10-201-10/+10
|
* openarray/varargs split; breaks bootstrappingAraq2012-08-161-12/+12
|
* changed integer promotion rules; breaks bootstrapping and lots of codeAraq2012-07-081-3/+3
|
* small bugfixes; documentation generator supports smilies for the forumAraq2012-05-011-1/+1
|
* added db_*.getRowAraq2012-04-241-0/+9
|
* year 2012 for most copyright headersAraq2012-01-021-1/+1
|
* fixed pango/pangoutils new wrappersAndreas Rumpf2010-02-261-0/+0
|
* SQLite wrapperAndreas Rumpf2010-02-241-5/+5
|
* continued work on html/xmlparserrumpf_a@web.de2010-02-141-0/+0
|
* cleanup of library docsAndreas Rumpf2010-02-041-36/+46
|
* bugfixes for the high-level postgreSQL wrapperAndreas Rumpf2010-01-291-21/+7
|
* bugfix: fd_set mustn't be prefixed with structAndreas Rumpf2010-01-141-1/+1
|