Kristy Brambila
0e61642165
Make postgres type name resolution case-insensitive
2020-04-08 01:22:37 -07:00
Ryan Leckey
466b6d6bed
cargo-sqlx: update SQLx to v0.3
2020-04-07 15:55:06 -07:00
sid
012c186069
support rename attribute in FromRow macro
2020-04-07 14:49:34 -07:00
Ryan Leckey
543f89d0eb
Merge branch 'JesperAxelsson-feature/cargo-sqlx-migrate'
2020-04-07 14:32:25 -07:00
Ryan Leckey
70387214a9
Merge branch 'feature/cargo-sqlx-migrate' of git://github.com/JesperAxelsson/sqlx into JesperAxelsson-feature/cargo-sqlx-migrate
2020-04-07 14:32:10 -07:00
Lewis Belcher
903de3e8d8
Update README.md
...
Simple terminology fix.
2020-04-07 04:11:11 -07:00
kosyak
6c9241a3a9
Fixed types of variables that interact with libsqlite3
2020-04-07 04:10:47 -07:00
Reid Swan
58aa15cb8a
Use psql client in container to make action less brittle
2020-04-07 04:08:58 -07:00
Ryan Leckey
84fdbac6ca
Merge pull request #221 from reidswan/actions-build-examples
...
Adds new Github Action to build examples
2020-04-03 13:09:27 -07:00
Ryan Leckey
48a4d79dac
Merge pull request #223 from nkconnor/patch-2
...
Fix MySQL connection URL example
2020-04-03 13:07:51 -07:00
Nicholas Connor
e3cc3ae762
Fix MySQL connection URL example
2020-04-03 10:46:42 -04:00
Reid Swan
42ff560577
Adds new Github Action to build examples
2020-04-02 15:36:12 +02:00
Ryan Leckey
e7ace2adc7
Prepare v0.3.3
v0.3.3
2020-04-01 18:24:08 -07:00
Ryan Leckey
4dc634f8b5
postgres: add a test to prove Type derive works for structs and fix the issue with it
...
fixes #219
2020-04-01 16:40:04 -07:00
Ryan Leckey
2a9774d84f
use cow::borrowed to remove a minor allocation in postgres/startup
...
refs #214
2020-03-31 21:41:29 -07:00
Ryan Leckey
3a997f06ab
Merge pull request #214 from jamwaffles/encoded-connection-string
...
Decode username on read
2020-03-31 21:38:33 -07:00
Ryan Leckey
7c3db2285a
cargo: tweak keywords to maximize visibility on crates.io
2020-03-31 20:58:28 -07:00
Ryan Leckey
6dea8fba5c
Merge pull request #215 from Ace4896/todos-cli-other-dbs
...
Port TODOs CLI Example to MySQL and SQLite
2020-03-31 15:45:34 -07:00
James Waples
f05f6bedd9
Decode username on read
2020-03-31 23:03:17 +01:00
Jon Pacheco
38e630d107
Add comment regarding booleans in MySQL
2020-03-31 20:35:34 +01:00
Jon Pacheco
89c9b059e6
Fix formatting in SQLite example
2020-03-31 20:35:34 +01:00
Jon Pacheco
8d454c48d0
Use != 0 instead of > 0
2020-03-31 20:35:34 +01:00
Jon Pacheco
f4e4836fa6
Clone TODOs example for MySQL
2020-03-31 20:35:34 +01:00
Jon Pacheco
79a5e5e1d5
Clone TODOs example for SQLite
...
Differences to Postgres version:
- Minor changes to schema
- Add TODO: "RETURNING" isn't supported, so retrieve ID separately
2020-03-31 20:35:34 +01:00
Ryan Leckey
283f0ef6d8
Merge pull request #216 from Ace4896/must-use-types
...
Mark several types as #[must_use]
2020-03-31 11:49:05 -07:00
Ryan Leckey
8cb056ccc0
Merge pull request #213 from nrjais/210
...
[Refactor] Remove matches dependency and use matches macro from std
2020-03-31 11:25:53 -07:00
Ryan Leckey
8860980810
Merge pull request #211 from valerio/feature/add-a-contributing-doc
...
Add a basic CONTRIBUTING doc
2020-03-31 11:25:09 -07:00
Jon Pacheco
ccc2bfa0a6
Mark several types as #[must_use]
2020-03-31 14:39:29 +01:00
Neeraj Jaiswal
c29fc5cccd
Remove matches dependency and use matches macro from std
2020-03-31 18:01:06 +05:30
Valerio Pipolo
5e23969d94
Add more information to include for new issues
2020-03-31 14:05:00 +02:00
Ryan Leckey
1d7f5c54cb
Update CHANGELOG.md
2020-03-31 03:06:25 -07:00
Ryan Leckey
d5075bf9d1
Update CHANGELOG.md
2020-03-31 03:06:09 -07:00
Ryan Leckey
a9fc05378e
Prepare v0.3.2
v0.3.2
2020-03-31 03:02:01 -07:00
Ryan Leckey
371e843bb2
mysql: remove random println
2020-03-31 03:00:31 -07:00
Valerio Pipolo
d4f42863c5
Add a basic CONTRIBUTING doc
2020-03-31 11:34:52 +02:00
Ryan Leckey
a84e1f6626
Prepare v0.3.1
v0.3.1
2020-03-30 18:53:03 -07:00
Ryan Leckey
b65602d842
postgres: remove unused import
2020-03-30 18:52:52 -07:00
Ryan Leckey
c6b0ceed34
update lockfile
2020-03-30 18:46:31 -07:00
Ryan Leckey
d820763bb9
mysql: infer empty password to mean no password
2020-03-30 18:42:25 -07:00
Ryan Leckey
d3eb9c7800
postgres: use PgStream::receive over PgStream::read to handle errors
...
* PgStream::read should probably be named better; maybe PgStream::raw_receive
Fixes #203
2020-03-30 18:38:31 -07:00
Ryan Leckey
bbbc1811ce
postgres: tweak DataRow::read
2020-03-30 18:31:05 -07:00
Ryan Leckey
9be0401b38
Merge pull request #200 from sidred/fromrow-keyword-fix
...
Process keyword fields correctly in FromRow macro
2020-03-30 17:13:14 -07:00
Ryan Leckey
40954b0272
Merge pull request #205 from Ace4896/restructure-examples
...
Restructure Examples Folder
2020-03-30 17:12:25 -07:00
Ryan Leckey
5676930526
Update README.md
2020-03-30 16:39:59 -07:00
Ryan Leckey
9450833edf
Update README.md
2020-03-30 16:37:46 -07:00
Jon Pacheco
501ed887e3
Restructure examples folder
2020-03-31 00:35:07 +01:00
Ryan Leckey
785163f5ea
Update CHANGELOG.md
2020-03-30 11:48:27 -07:00
sid
40f11ebb77
Process keyword fields correctly in FromRow macro
...
This PR fixes the the incorrect handling of keywords fields of a struct in the FromRow macro.
Currently a struct with a field like 'r#type' will try to read values from a column with the exact same name with r# prefix. With this change this field will now map to a database column with the correct name 'type' without the r# prefix.
2020-03-30 19:30:50 +05:30
Ryan Leckey
670265f103
docs: fix link to db types
2020-03-29 16:34:05 -07:00
Ryan Leckey
4dfa50d85c
Update README.md
2020-03-29 16:33:29 -07:00