diff --git a/docs/Commands.md b/docs/Commands.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/Data type.md b/docs/Data type.md index 214ba7f..b083759 100644 --- a/docs/Data type.md +++ b/docs/Data type.md @@ -12,3 +12,26 @@ There is 8 data types: - `datetime`: A date time in yyyy/mm/dd-hh:mm:ss:mmmm All data types can be an array of those types using `[]` in front of it. So `[]int` is an array of integer. + +## Date and time + +ZipponDB use 3 different date and time data type. Those are use like any other type like `int` or `float`. + +### Date + +Data type `date` represent a single day. To write a date, you use this format: `yyyy/mm/dd`. +Like that: `2024/10/19`. + +### Time + +Data type `time` represent a time of the day. To write a time, you use this format: `hh:mm:ss.mmmmm`. +Like that: `12:45:00.0000`. + +Millisecond and second are optional so this work too: `12:45:00` and `12:45` + +### Datetime + +Data type `datetime` mix of both, it use this format: `yyyy/mm/dd-hh:mm:ss.mmmmm`. +Like that: `2024/10/19-12:45:00.0000`. + +Millisecond and second are optional so this work too: `2024/10/19-12:45:00` and `2024/10/19-12:45` diff --git a/docs/Date and time.md b/docs/Date and time.md deleted file mode 100644 index 274c1ba..0000000 --- a/docs/Date and time.md +++ /dev/null @@ -1,22 +0,0 @@ -# Date and time - -ZipponDB use 3 different date and time data type. Those are use like any other tpye like `int` or `float`. - -## Date - -Data type `date` represent a single day. To write a date, you use this format: `yyyy/mm/dd`. -Like that: `2024/10/19`. - -## Time - -Data type `time` represent a time of the day. To write a time, you use this format: `hh:mm:ss.mmmmm`. -Like that: `12:45:00.0000`. - -Millisecond and second are optional so this work too: `12:45:00` and `12:45` - -## Datetime - -Data type `datetime` mix of both, it use this format: `yyyy/mm/dd-hh:mm:ss.mmmmm`. -Like that: `2024/10/19-12:45:00.0000`. - -Millisecond and second are optional so this work too: `2024/10/19-12:45:00` and `2024/10/19-12:45` diff --git a/mkdocs.yml b/mkdocs.yml index 0620a6b..9469356 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -8,3 +8,13 @@ markdown_extensions: - pymdownx.blocks.caption plugins: - glightbox + +nav: + - Home: index.md + - Quickstart: Quickstart.md + - Schema: Schema.md + - ZipponQL: ZiQL.md + - Data types: Data type.md + - Commands: Commands.md + - Benchmark: Benchmark.md + - Roadmap: Roadmap.md