aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-03-29 15:14:25 +0000
committerFuwn <[email protected]>2021-03-29 15:14:25 +0000
commit8176a6072516d8bcd6647e1e3d5b35989d67c8a0 (patch)
treecd47962a703311119e20e89baa3c20a3e828238d /src
parentetc: Annotation (diff)
downloadwhirl-8176a6072516d8bcd6647e1e3d5b35989d67c8a0.tar.xz
whirl-8176a6072516d8bcd6647e1e3d5b35989d67c8a0.zip
format: Refactor SQL snippet for consistency
Diffstat (limited to 'src')
-rw-r--r--src/db/tables.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/db/tables.rs b/src/db/tables.rs
index e773e9e..eb444d9 100644
--- a/src/db/tables.rs
+++ b/src/db/tables.rs
@@ -222,7 +222,9 @@ pub struct UserRegistration {
///
/// To extract an email address for a given user:
/// ```sql
-/// select propertyStringValue from UserProperties where userName='John Doe' and propertyId=11;
+/// select propertyStringValue
+/// from UserProperties
+/// where userName='John Doe' and propertyId=11;
/// ```
///
/// To extract a list of all recorded email addresses: