Skip to content

Commit 7288cac

Browse files
committed
Fix docs-tests on CI
1 parent 7766f21 commit 7288cac

1 file changed

Lines changed: 1 addition & 26 deletions

File tree

crates/gitql-core/src/schema.rs

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,7 @@ use std::collections::HashMap;
22

33
use gitql_ast::types::DataType;
44

5-
/// A Representation of the Data Schema that constructed the following
6-
///
7-
/// [`tables_fields_names`] is a map of tables and columns names
8-
///
9-
/// # Examples
10-
///
11-
/// ```
12-
///
13-
/// pub static ref TABLES_FIELDS_NAMES: HashMap<&'static str, Vec<&'static str>> = {
14-
/// let mut map = HashMap::new();
15-
/// map.insert("refs", vec!["name", "full_name", "type", "repo"]);
16-
/// }
17-
///
18-
/// ```
19-
///
20-
/// [`tables_fields_types`] is a map of each column name in general with the expected data type
21-
///
22-
/// # Examples
23-
///
24-
/// ```
25-
/// pub static ref TABLES_FIELDS_TYPES: HashMap<&'static str, Box<dyn DataType>> = {
26-
/// let mut map = HashMap::new();
27-
/// map.insert("commit_id", Box::new(TextType));
28-
/// }
29-
/// ```
30-
///
5+
/// A Representation of the Schema of the data including columns, tables and types
316
pub struct Schema {
327
pub tables_fields_names: HashMap<&'static str, Vec<&'static str>>,
338
pub tables_fields_types: HashMap<&'static str, Box<dyn DataType>>,

0 commit comments

Comments
 (0)