Skip to content

Commit 4c74cf2

Browse files
committed
readme
1 parent 4e2a55b commit 4c74cf2

File tree

70 files changed

+22
-22115
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+22
-22115
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ build
2424

2525
# Coverage
2626
coverage
27+
28+
# API Document
29+
docs

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# dddl
2-
32
dddl generates test Data from DDL (i.e. create table statements). <br>
43
How data is generated depends on column types and options but the general idea is simple. <br>
54
Generator adds 1 to previous data row by row so each column would have sequentially incremented number. <br>
@@ -20,8 +19,10 @@ L2 "a0002","2","0.2","b0000002"
2019
L3 "a0003","3","0.3","b0000003"
2120
L4 "a0004","4","0.4","b0000004"
2221
```
22+
> This library is not yet stable. Any features or APIs are subject to change even if its minor version is updated.
23+
2324
## Getting started
24-
### Install
25+
### Installation
2526
``` sh
2627
npm install dddl
2728
```
@@ -41,18 +42,25 @@ try {
4142
// error -> parse error or data generation error
4243
}
4344
```
45+
4446
## Working demo
45-
here
47+
[Here](https://dddl-api.netlify.app/modules/datatypes.html)
48+
4649
## Options
47-
See API reference.
50+
See [API reference](https://dddl-api.netlify.app/interfaces/generator.generatoroption.html)
51+
4852
## Supported types
49-
See API reference.
53+
See [API reference](https://dddl-api.netlify.app/modules/datatypes.html)
54+
5055
## Data validation
5156
Currently followings are supported.
5257
- PRIMARY KEY constraint
5358
- UNIQUE KEY constraint
5459
- NOT NULL constraint
60+
5561
## SQL parser
56-
SQL syntax quite depends on DBMS, so the create statement you have may or may not be valid for this library. <br>
57-
However this library basically comprises with the ANSI standards since the parser part of this library has been translated and ported from the Rust project named sqlparser-rs, which is comprises with the standard, so hopefully the core part of your create statement (i.e. column definition) is valid for this library.
62+
SQL syntax quite depends on DBMSs, so the create statement you have may or may not be valid for this library. <br>
63+
However this library basically comforms with [the ANSI standards](https://en.wikipedia.org/wiki/ISO/IEC_9075) since the parser part of this library has been translated and ported from the Rust project named [sqlparser-rs](https://github.com/ballista-compute/sqlparser-rs), which aims to comform with the standard, so hopefully the core part of your create statement (i.e. column definition) is valid for this library.
64+
5865
## Lisence
66+
Apache License 2.0

0 commit comments

Comments
 (0)