Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes #16080 (#16091) [backport:1.2] | RokkuCode | 2020-11-23 | 1 | -1/+1 |
| | | | | | | | * fixes #16080 db_sqlite: Error: undeclared field: 'untypedLen' * redacting fix | ||||
* | Handle BLOB column type in SQLite as binary data (#15681) | Regis Caillaud | 2020-11-02 | 1 | -15/+78 |
| | | | | | | * Fixed not handling blob correctly in sqlite * Fixed setLen commented by mistake * Added binary example as db_sqlite doc * Added tests for sqlite binary data | ||||
* | add bindParams to db_sqlite (#14408) | Bung | 2020-05-26 | 1 | -41/+159 |
| | | | | | | | | | | | | | | | | | | | | | * add bindParams to db_sqlite * no need typeinfo * remove extro spaces * reduce bindParams to two branches,raise DbError * Update lib/impure/db_sqlite.nim * change bindParams to macro,accept varargs[untyped] as params * change bind blob val to openArray[byte] * remove unused err type * explicitly using i32 param * using import std/private/since * SQLITE_OK to right hand * bindParam val int using bindParam overload * copy data by default * change exec to template * remove SqlPrepared procs unused varargs * fix setupquery for prepared,reset first for exec prepared,add bindNull for literal nil Co-authored-by: alaviss <leorize+oss@disroot.org> | ||||
* | add insert,tryInsert unify for postgres that need pk name (#14416) | Bung | 2020-05-22 | 1 | -0/+15 |
| | | | | | | | | | | | * add insert,tryInsert unify for postgres that need pk name * add ReadDbEffect to new procs * add .since and changelog * change since to 1.3 * Update lib/impure/db_postgres.nim Co-authored-by: bung87 <crc32@qq.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: alaviss <leorize+oss@disroot.org> | ||||
* | add SqlPrepared api fix #13559 (#14365) | Bung | 2020-05-16 | 1 | -0/+101 |
| | | | Co-authored-by: bung87 <crc32@qq.com> | ||||
* | fix #7241 (#13779) | itsumura-h | 2020-04-03 | 1 | -0/+5 |
| | | | finalize() should run in insert() | ||||
* | Deprecate DCE:on (#13839) | Juan Carlos | 2020-04-02 | 1 | -2/+0 |
| | |||||
* | Documentation improvements around the db interface (#12362) | Ray Imber | 2019-10-08 | 1 | -0/+12 |
| | | | | Added more details about the limits and reasoning behind the API. Came about from this discussion on IRC: https://irclogs.nim-lang.org/04-10-2019.html#16:58:04 | ||||
* | removed unused imports [refactoring] | Andreas Rumpf | 2019-08-08 | 1 | -1/+1 |
| | |||||
* | makes the -d:nimIncremental compiler mode compile again | Andreas Rumpf | 2019-07-27 | 1 | -5/+5 |
| | |||||
* | [feature] add `unsafeColumnAt` procs, that return unsafe cstring from ↵ | Huy | 2019-07-10 | 1 | -0/+8 |
| | | | | InstantRow (#11647) | ||||
* | db_sqlite: Update documentation (#10330) (#11266) | jiro | 2019-05-19 | 1 | -71/+359 |
| | |||||
* | Fix header inconsistencies in documentation (#11071) | Zed | 2019-04-23 | 1 | -6/+6 |
| | |||||
* | fixes #7241 | Araq | 2019-01-13 | 1 | -10/+16 |
| | |||||
* | removes deprecated T/P types | Araq | 2018-11-16 | 1 | -1/+0 |
| | |||||
* | Update example (#9395) | Federico Ceratto | 2018-10-17 | 1 | -1/+1 |
| | |||||
* | make more tests green | Andreas Rumpf | 2018-08-14 | 1 | -1/+0 |
| | |||||
* | Update sqlite example to use empty strings. | Varriount | 2018-06-03 | 1 | -1/+1 |
| | | | Update sqlite example to use empty strings to use empty strings instead of nil. | ||||
* | Update example (#7788) | Federico Ceratto | 2018-06-01 | 1 | -1/+1 |
| | |||||
* | Better db_sqlite errors when db_sqlite not connected. | Dominik Picheta | 2018-05-13 | 1 | -0/+3 |
| | |||||
* | remove dead code elimination option (#7669) | Jacek Sieka | 2018-04-23 | 1 | -1/+1 |
| | |||||
* | make tests green again | Andreas Rumpf | 2017-11-07 | 1 | -1/+1 |
| | |||||
* | minor improvement for the db_sqlite module | Andreas Rumpf | 2017-09-27 | 1 | -1/+2 |
| | |||||
* | Improved documentation for all db modules. | Dominik Picheta | 2016-01-18 | 1 | -1/+42 |
| | |||||
* | new db_sqlite requires deadCodeElim:on because not every sqlite3_column_name | Andreas Rumpf | 2015-12-29 | 1 | -0/+2 |
| | |||||
* | implements column information retrival for db_sqlite | Andreas Rumpf | 2015-12-17 | 1 | -0/+33 |
| | |||||
* | updated db*.nim modules | Andreas Rumpf | 2015-12-16 | 1 | -1/+1 |
| | |||||
* | big update for the db*.nim modules; uses new db_common.nim | Andreas Rumpf | 2015-12-16 | 1 | -46/+28 |
| | |||||
* | Clean up a line ending | JamesP | 2015-09-06 | 1 | -1/+1 |
| | |||||
* | instantRows doco added "the" to improve readability | JamesP | 2015-09-06 | 1 | -1/+1 |
| | |||||
* | fastRows() iterator doco updated (similar to db_mysql) with sqlite specific | JamesP | 2015-09-06 | 1 | -3/+7 |
| | | | | [Edb] error text | ||||
* | Add example (similar to db_mysql) with changes to table definition | JamesP | 2015-09-06 | 1 | -0/+30 |
| | | | | and transaction to match sqlite SQL syntax | ||||
* | lib: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 1 | -42/+42 |
| | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + | ||||
* | db: InstantRow and instantRows | Adam Strzelecki | 2015-06-09 | 1 | -1/+23 |
| | | | | | | | | | | | 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 types | pdw | 2015-06-04 | 1 | -30/+31 |
| | |||||
* | Don't run non-test code when defined(testing) | Oleh Prypin | 2015-04-21 | 1 | -1/+1 |
| | |||||
* | move database encoding options to setEncoding(), leave open() as it is | KeMeGe | 2015-03-16 | 1 | -4/+15 |
| | |||||
* | Add character set options when opening DB connection | KeMeGe | 2015-03-14 | 1 | -2/+3 |
| | |||||
* | fixes #1866 | Araq | 2015-01-10 | 1 | -1/+2 |
| | |||||
* | updated db_sqlite.nim | Araq | 2014-08-29 | 1 | -20/+20 |
| | |||||
* | Nimrod renamed to Nim | Araq | 2014-08-28 | 1 | -1/+1 |
| | |||||
* | Avoids raising exceptions in tryInsertID. | Grzegorz Adam Hankiewicz | 2014-01-29 | 1 | -2/+4 |
| | |||||
* | better tester | Araq | 2014-01-17 | 1 | -1/+1 |
| | |||||
* | fixes db_sqlite | Araq | 2014-01-13 | 1 | -20/+20 |
| | |||||
* | Removes executable bit for text files. | Grzegorz Adam Hankiewicz | 2013-03-16 | 1 | -0/+0 |
| | |||||
* | Merge pull request #262 from gradha/pr_adds_some_documentation_to_db_modules | Araq | 2012-11-24 | 1 | -4/+7 |
|\ | | | | | Documents NULL to "" db_* transformation and return values. | ||||
| * | Documents NULL to "" db_* transformation and return values. | Grzegorz Adam Hankiewicz | 2012-11-24 | 1 | -4/+7 |
| | | |||||
* | | fixes #250 | Araq | 2012-11-19 | 1 | -2/+2 |
|/ | |||||
* | 'assert' hides EAssertionFailsure; stdlib makes use of 'tags' | Araq | 2012-11-18 | 1 | -16/+26 |
| | |||||
* | Adds `$` as supplied proc to varargs in database modules. | Grzegorz Adam Hankiewicz | 2012-10-20 | 1 | -10/+10 |
| |