Page MenuHomeDevCentral

D2750.id6982.diff
No OneTemporary

D2750.id6982.diff

diff --git a/fantoir-datasource/src/services/query.rs b/fantoir-datasource/src/services/query.rs
--- a/fantoir-datasource/src/services/query.rs
+++ b/fantoir-datasource/src/services/query.rs
@@ -1,5 +1,12 @@
-//! Service to search imported FANTOIR table
-//! This is intended to be exposed to the tool, and used internally to fix FANTOIR codes.
+//! Service to search imported FANTOIR table.
+//!
+//! This is intended to be exposed to the tool, and used internally to fix FANTOIR codes:
+//!
+//! - the `fantoir-datasource query` command can so be used to check
+//! if an import contains expected values to validate before promotion.
+//!
+//! - the Wikidata import code uses `search_fantoir_code` when the FANTOIR
+//! code doesn't contain the code direction, and it can't be computed.
use std::fmt::{Display, Formatter};
use sqlx::{Error, FromRow, PgPool};

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 28, 03:41 (22 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2268281
Default Alt Text
D2750.id6982.diff (878 B)

Event Timeline