Commit graph

1689 commits

Author SHA1 Message Date
Ryan Leckey
405553cc43
Merge branch 'slumber-another-fix-for-decimals' of https://github.com/slumber/sqlx into slumber-slumber-another-fix-for-decimals 2020-12-18 23:23:06 -08:00
Mike Cronce
ff05ad9a10 examples/mysql/todos/Cargo.toml: Add runtime feature 2020-12-19 07:17:55 +00:00
Mike Cronce
376ea3f596 sqlx-core/src/mysql/types/str.rs: + COLLATE_UTF8MB4_GENERAL_CI 2020-12-19 07:17:28 +00:00
Hamza
d1417dc2ec Ensure tests pass 2020-12-19 07:17:12 +00:00
Hamza
8a55ae2d32 Fix transaction wrapper 2020-12-19 07:17:12 +00:00
Augusto
ef42bd44bd Adding support for vector of bytea type in postgres 2020-12-19 07:16:04 +00:00
Federico Rampazzo
c416c94d43 Fix escaping test query 2020-12-19 07:14:09 +00:00
Federico Rampazzo
3a7fe4da94 Fix more typos 2020-12-19 07:14:09 +00:00
Federico Rampazzo
0bb5e92836 Fix typo 2020-12-19 07:14:09 +00:00
Federico Rampazzo
05e42a8cac Cargo fmt 2020-12-19 07:14:09 +00:00
Federico Rampazzo
b9e57de005 Rename mixedCase to camelCase, CamelCase to PascalCase, aligning with serde 2020-12-19 07:14:09 +00:00
Federico Rampazzo
aa0adaa434 Updated rename-all docs 2020-12-19 07:14:09 +00:00
Federico Rampazzo
00a999145f Add mixedCase and CamelCase to rename-all, added rename-all to FromRow 2020-12-19 07:14:09 +00:00
Marcin Kaźmierczak
e584618041 sqlite synchronous setting 2020-12-19 06:03:50 +00:00
Ryan Leckey
c24460d906
chore: update lockfile 2020-12-18 21:58:12 -08:00
Ryan Leckey
107d0ff870
Merge branch 'joshtriplett-types' 2020-12-18 21:57:48 -08:00
Ryan Leckey
4f261b7346
test: added an explicit cast for bstr test where sqlite failed to do an implicit cast 2020-12-18 21:56:50 -08:00
Ryan Leckey
4ee1727ba6
fix: tweak bstr and git2 Encode impls 2020-12-18 21:56:29 -08:00
Ryan Leckey
716517a84f
chore: add bstr and git2 to "all-types" feature 2020-12-18 21:56:12 -08:00
Matt Paul
a92bbc6bcb
Add docker-compose and .env 2020-12-18 21:33:53 -08:00
Matt Paul
548c3a20d8
Update readme 2020-12-18 21:33:53 -08:00
Matt Paul
b070aae909
Write test 2020-12-18 21:33:53 -08:00
Matt Paul
9cdbab2d1c
Implement TodoRepo trait 2020-12-18 21:33:52 -08:00
Matt Paul
6ac5d2269e
Extract postgres todo repo struct 2020-12-18 21:33:52 -08:00
Matt Paul
012d72464e
Make mockable-todos example compile 2020-12-18 21:33:52 -08:00
Matt Paul
44e7bb4183
Make todos example compile 2020-12-18 21:33:52 -08:00
Matt Paul
5d3936517b
Copy 'todos' example directory as starting point 2020-12-18 21:33:52 -08:00
Eric Semeniuc
389f9b5f41
fix macro 2020-12-18 21:33:52 -08:00
Eric Semeniuc
7cc0ecb981
Add cfg sqlite condition 2020-12-18 21:33:52 -08:00
Eric Semeniuc
c64b9bee45
Address pr feedback 2020-12-18 21:33:51 -08:00
Eric Semeniuc
892bbc95a9
add new example for migration 2020-12-18 21:33:51 -08:00
Ryan Leckey
54011f1893
docs: tweak quickstart fix PR for review comments 2020-12-18 21:33:51 -08:00
Kezi
3b80998801
use toml language in example
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-12-18 21:33:51 -08:00
Kezi
057ead3bf4
remove useless use 2020-12-18 21:33:51 -08:00
Kezi
60d3e182b4
Make quickstart actually quick
fixes #760
2020-12-18 21:33:51 -08:00
Ryan Leckey
214d5db494
chore: update lockfile 2020-12-18 21:33:51 -08:00
Ryan Leckey
58618f62a2
fix(tests): update x.py with new runtime-* features 2020-12-18 21:33:51 -08:00
Ryan Leckey
187b7481e9
fix(sqlite): implement Encode on Uuid and Hyphenated not references to them 2020-12-18 21:33:50 -08:00
James Tomlinson
a959451e85
Add Sqlite Uuid type tests. 2020-12-18 21:33:49 -08:00
James Tomlinson
7c8822ae5e
Fix formatting (cargo fmt) 2020-12-18 21:33:30 -08:00
James Tomlinson
40011f66df
Uuid support for Sqlite.
Includes the same support for the Hyphenated adapter as the MySQL
Uuid support.
2020-12-18 21:33:30 -08:00
Joe Grund
21661c2c9c
Support workspaces for offline feature
This patch enables having a top-level `sqlx-data.json` file within a
workspace.

It does this by using a full clean / check instead of `cargo rustc`
which fails on a workspace.

A `--merged` flag is introduced to switch to the workspace behavior

Fixes #353.

Signed-off-by: Joe Grund <jgrund@whamcloud.io>
2020-12-18 21:33:29 -08:00
Andrew Whitehead
a445f9f431
manually close connections in SharedPool::close 2020-12-18 21:33:11 -08:00
Andrew Whitehead
f39d194b17
decrement pool size when connection is released 2020-12-18 21:33:11 -08:00
Chris Sosnin
4c1cf86380
sqlite: fix memory leak 2020-12-18 21:33:11 -08:00
Pleto
d7c447a9c6
add 1 as true for SQLX_OFFLINE env variable 2020-12-18 21:33:11 -08:00
Fangdun Cai
169fb298ef
fix: whoami crash on FreeBSD aarch platform 2020-12-18 21:33:11 -08:00
chertov
6f793271c4
Replace lru-cache with hashlink 2020-12-18 21:33:09 -08:00
Marcin Kaźmierczak
9ad0c71253
fix clipyy warnings 2020-12-18 21:32:08 -08:00
Dominic
274a69c020
Fix path for &[NaiveTime] in query! macro 2020-12-18 21:32:08 -08:00