Plume/plume-models
Igor Galić 8e6b1ab86e
simplify retrieval in find_by_host()
we can use "first()" instead of limit(1).load().etc…
since on a UNIQUE field, we only expect 1 result.

first() returns QueryResult, which is Result<T, diesel::Error>, so we
need to implement a converter for that error type.

This commit addresses @fdb-hiroshima's review.
2019-08-14 23:51:12 +02:00
..
src simplify retrieval in find_by_host() 2019-08-14 23:51:12 +02:00
tests import migrations and don't require diesel_cli for admins (#555) 2019-04-29 16:30:20 +02:00
Cargo.toml update dependancies (#643) 2019-08-14 15:04:30 +02:00