Commit Graph

30 Commits

Author SHA1 Message Date
Steven Fackler
2a6889fa0b Rename SslMode to TlsMode
TLS has been a thing since 1999 - time to use it rather than SSL!
2016-09-10 10:30:47 -07:00
Steven Fackler
4373eff16f Remove back compat reexport 2016-09-10 10:30:47 -07:00
Oliver Schneider
06b770917b
address clippy and rust lints 2016-05-27 12:35:00 +02:00
Steven Fackler
c16d1447fa Stop glob importing messages 2016-04-04 22:51:56 -07:00
Steven Fackler
da8707a316 Drop Message suffix 2016-04-04 22:35:45 -07:00
Steven Fackler
15fe3f7c5f Rustfmt 2016-02-21 20:02:34 -08:00
Steven Fackler
5b54a6910b Clean up stuff pointed out by clippy 2016-02-20 15:06:15 -08:00
Steven Fackler
259fe11a1c Make read_rows a method on InnerConnection 2016-02-15 22:17:45 -08:00
Steven Fackler
d3a4091d4b Tweak a lifetime 2015-12-27 13:33:46 -07:00
Steven Fackler
278ee1cfd7 Drop WrongType variant
Following the tradition of WasNull
2015-12-26 22:05:23 -07:00
Steven Fackler
f79e98e07a Rustfmt 2015-12-25 20:20:28 -07:00
Steven Fackler
fe14c82541 Remove Error::InvalidColumn
Change get_opt to return an Option<Result<T>> as its name would hint
2015-12-25 19:32:51 -07:00
Steven Fackler
bcd8c528a6 Tweak lifetime 2015-12-22 15:19:55 -07:00
Steven Fackler
fc8ab87797 Cleanup 2015-12-15 23:30:50 -08:00
Steven Fackler
bc04239a1d Rustfmt 2015-12-12 19:22:51 -08:00
Steven Fackler
811b0ffde9 Restructure SslMode
This is a large breaking change but makes things make way more sense
2015-12-06 23:35:28 -08:00
Steven Fackler
afc067fb33 Remove deprecated from_sql_nullable 2015-12-06 23:35:28 -08:00
Steven Fackler
736f530ae9 Add Connection::query
Same deal as Connection::execute - a bit cheaper than preparing and
executing the statement normally.
2015-12-06 23:35:28 -08:00
Steven Fackler
fcc2768434 Second half of infrastructure for Connection::query
There are weird dropck issues introduced here that require those extra
semicolons in the test code.
2015-12-06 23:35:28 -08:00
Steven Fackler
f02cf54f24 First half of infrastructure to support Connection::query 2015-12-06 23:35:28 -08:00
Steven Fackler
58bb6c0e9a Remove rows::IntoIter
It's incompatible with Connection::query
2015-12-06 23:35:28 -08:00
Steven Fackler
a9effb427a Make examples consistent 2015-11-29 20:00:25 -08:00
Steven Fackler
1aabcdbb2a Use h1s in docs 2015-11-28 21:05:13 -08:00
Steven Fackler
67bace6fc0 Rustfmt 2015-11-15 19:54:01 -08:00
Steven Fackler
e7d4a7e062 Drop dependency on debug builders 2015-09-18 22:55:32 -07:00
Steven Fackler
ff4248c737 Drop reexports 2015-09-18 20:21:13 -07:00
Steven Fackler
63e278b9f2 Pull Statement into its own module 2015-08-15 21:39:46 -07:00
Steven Fackler
64de6abb1e Look up column names case insensitively
It tries a case sensitive comparison first so all existing uses should
continue to be OK. It should really have some form of unicode awarenes
but it's unclear exactly what. The JDBC driver uses the US locale when
lowercasing and libpq uses tolower with the system locale.

Closes #136
2015-07-30 22:04:22 -07:00
Steven Fackler
0883918f06 Allow direct indexing of Rows. 2015-06-07 09:15:52 -07:00
Steven Fackler
092f038288 Pull rows to their own module 2015-05-29 22:54:10 -07:00