@@ -11,7 +11,6 @@ SQLMapper is a powerful SQL schema parser and generator that supports multiple d
1111 - SQL Server
1212 - Oracle
1313- Schema parsing and generation
14- - Parallel stream processing for large SQL files
1514- Support for various SQL objects:
1615 - Tables
1716 - Views
@@ -21,6 +20,15 @@ SQLMapper is a powerful SQL schema parser and generator that supports multiple d
2120 - Indexes
2221 - Sequences
2322
23+ ## Development Status
24+
25+ - Basic schema parsing and generation is implemented
26+ - Stream processing feature is under development
27+ - Basic stream parsing functionality is implemented
28+ - Tests for stream processing are pending
29+ - Parallel stream processing is planned
30+ - Documentation will be updated as features are completed
31+
2432## Installation
2533
2634``` bash
@@ -57,39 +65,6 @@ func main() {
5765}
5866```
5967
60- ### Stream Processing
61-
62- For large SQL files, you can use the stream processing feature with parallel execution:
63-
64- ``` go
65- package main
66-
67- import (
68- " fmt"
69- " github.com/mstgnz/sqlmapper"
70- )
71-
72- func main () {
73- // Create a stream parser
74- parser := sqlmapper.NewStreamParser (sqlmapper.MySQL )
75-
76- // Process SQL stream with parallel execution
77- err := parser.ParseStreamParallel (sqlContent, 4 , func (obj interface {}) error {
78- switch v := obj.(type ) {
79- case sqlmapper.Table :
80- fmt.Printf (" Processed table: %s \n " , v.Name )
81- case sqlmapper.View :
82- fmt.Printf (" Processed view: %s \n " , v.Name )
83- }
84- return nil
85- })
86-
87- if err != nil {
88- panic (err)
89- }
90- }
91- ```
92-
9368## Supported SQL Objects
9469
9570- Tables
@@ -98,13 +73,12 @@ func main() {
9873 - Foreign keys
9974 - Unique constraints
10075 - Check constraints
101- - Indexes
10276- Views
10377- Functions
104- - Stored Procedures
78+ - Procedures
10579- Triggers
80+ - Indexes
10681- Sequences
107- - User-defined Types
10882
10983## Contributing
11084
0 commit comments