Ryan Culpepper
c0543e8f65
updated docs for new simple-result info
...
Most changes are due to unrelated serialization improvements,
but there's one example with a different result.
2013-01-07 19:52:51 -05:00
Ryan Culpepper
681558328e
add last inserted row, # changes to simple-result info
...
The info keys are 'insert-id, 'affected-rows, as for mysql.
2013-01-07 19:52:51 -05:00
Ryan Culpepper
a2ae813739
replace db's sql-bits with data/bit-vector
2012-12-16 22:39:02 -05:00
Ryan Culpepper
8ec10d4804
added doc section on transactions and concurrency
2012-12-01 01:50:55 -05:00
Ryan Culpepper
30397acc37
use exn:fail:sql for sqlite errors too
2012-12-01 01:33:56 -05:00
Ryan Culpepper
05e7e61d85
added #:option to start-transaction, call-with-transaction
2012-12-01 01:33:56 -05:00
Matthew Flatt
41e9e3e5ff
db: add `sqlite3-available?'
...
Loading `db/sqlite3' no longer raises an exception if
the SQLite library isn't found. Instead, `sqlite3-connect'
raises an exception, while `sqlite3-available?' reports
whether it will work.
The dynamic test allows the documentation-help system
to continue to work if SQLite3 is not available. Currently,
though, `raco setup' still insists on using SQLite3 to
build the database of documented tags.
2012-11-23 18:44:51 -07:00
Ryan Culpepper
9d34f0f147
db: added support for postgresql 9.2 types (json, ranges)
...
Other major changes:
- pg code now uses only binary format
- pg timestamptz now always UTC (tz = 0), added doc section
- added contracts to most pg "can't-convert" errors
2012-09-17 12:29:17 -04:00
Ryan Culpepper
01e19983da
db: split example logs into one per scribble file to make drdr happy
2012-08-25 19:02:18 -04:00
Ryan Culpepper
81b022a3b8
db: fixed bug in db docs
2012-08-25 19:02:18 -04:00
Ryan Culpepper
7c395e9c7c
db: updated to new error convention (mostly)
2012-08-25 19:02:18 -04:00
Ryan Culpepper
c4edc684eb
db: added notes about custodians and connection-pool, virtual-connection
2012-08-22 11:55:11 -04:00
Ryan Culpepper
9bd5a9189b
db: use log-based-eval for most examples
2012-08-22 11:55:05 -04:00
Ryan Culpepper
00fd18bc62
db: various fixes and additions
...
- fix connection-pool for nested tx, fix race condition
- ensure connected? always nonblocking
- added and reorganized some doc sections
- added grouping, contracts to in-query
- added rows->dict
2012-05-09 09:17:52 -06:00
Ryan Culpepper
aa0d8aaa33
fix bug in db docs intro
...
closes PR 12743
2012-05-09 09:17:52 -06:00
Ryan Culpepper
9f492c10a7
db: fix mysql large blobs, other changes
...
MySQL:
- support multi-packet data rows
- fixed very old length-coding bug (24 vs 32 bit length)
- support large params via long-data packets
- 'any' pseudo-type for parameters
- distinguish 'blob'/'text', 'var-string'/'var-binary'
- read 'text' results as string, not bytes
SQLite3:
- enabled sql types tests
2012-04-14 19:47:32 -06:00
Rodolfo Henrique Carvalho
b87c2a18a4
Fix typo.
2012-04-04 02:52:51 -04:00
Ryan Culpepper
654ccb277f
db: added cursors
2012-02-08 22:32:51 -07:00
Ryan Culpepper
622a947bc4
db: added #:use-sources for db/base exports
2012-01-23 16:06:14 -07:00
Ryan Culpepper
dba35c3116
db: added nested transactions
2012-01-08 23:25:53 -07:00
Ryan Culpepper
59beeb2e14
minor doc fixes
2011-12-18 13:57:50 -07:00
Ryan Culpepper
933965b2c2
moved unstable/prop-contract into racket/contract/base
2011-12-18 13:57:50 -07:00
Ryan Culpepper
b355abfdb3
db: allow mysql-connect without db
2011-12-13 22:18:13 -07:00
Ryan Culpepper
7ebd15c4b0
db: export and document exn:fail:sql
2011-11-30 09:24:24 -07:00
Ryan Culpepper
1dade8ee1d
db: added support for postgresql arrays
2011-10-30 18:51:16 -06:00
Ryan Culpepper
f704d1620d
db: remove superfluous pretty-print setup
2011-10-16 05:41:58 -06:00
Ryan Culpepper
8f2fe7a5aa
db: updated note about sqlite3.dll
...
merge to 5.2
2011-10-16 05:41:53 -06:00
Ryan Culpepper
c7f86d276c
removed useless requires
2011-09-27 19:28:44 -06:00
Ryan Culpepper
36149b92a7
db: added ssl support for mysql connections
2011-09-27 19:28:44 -06:00
Ryan Culpepper
15e3640191
db: fix #:group contract, fix sqlite headers
2011-09-06 12:41:03 -06:00
Eli Barzilay
8c9404642b
Remove uses of `scheme' in db docs.
2011-09-05 00:34:16 -04:00
Ryan Culpepper
a5bda8e0cd
db: moved private contracts to db/base, removed useless requires
2011-08-31 05:40:24 -06:00
Ryan Culpepper
96663d4fa4
db: added #:use-place arg for ffi-based connections
...
SQLite and ODBC connections can use places to avoid blocking all
Racket threads.
2011-08-31 05:40:24 -06:00
Ryan Culpepper
f339060e55
db: added note on performance, edited note on isolation
2011-08-30 12:04:24 -06:00
Ryan Culpepper
b3e55dc078
db: added note on sql injection, moved param paras to stmt section
2011-08-30 12:04:24 -06:00
Ryan Culpepper
1c6817426e
db: added group-rows, #:group arg to query-rows
2011-08-30 12:04:24 -06:00
Ryan Culpepper
c97b3144fa
db: added note for SQL Server
2011-08-27 16:31:22 -06:00
Ryan Culpepper
78f7c4fcd4
db: fix problems found by drdr
...
avoid running odbc-dependent modules in drdr
fix scribble config to use abs mod paths in eval setup
2011-08-27 16:31:22 -06:00
Ryan Culpepper
92e2d1eb6e
db: split off db/util/datetime module
2011-08-27 16:31:22 -06:00
Ryan Culpepper
a91e6f6452
db: "recordset" -> "rows-result", "rows"
2011-08-27 16:31:22 -06:00
Ryan Culpepper
93222d4fba
db: improved listing of db/base exports in docs
2011-08-25 12:56:42 -06:00
Ryan Culpepper
82896bfce2
db: added list-tables, table-exists? (except for ODBC, so far)
2011-08-25 12:56:42 -06:00
Ryan Culpepper
50f0a32f9e
added db library
2011-08-25 12:56:42 -06:00