mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2025-02-15 06:25:15 +00:00
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. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |