Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BREAKING] Stored procedure/functions support for MsSQL, MySQL and PostrgeSQL #341

Merged
merged 38 commits into from
Apr 29, 2022
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
61e3dad
Add subroutines
Mar 25, 2022
0f45494
Add mysql functions and stored procedures
Mar 28, 2022
ece3f06
skip description
Mar 28, 2022
6c67c3c
update ddl
Mar 28, 2022
72dd13f
Init mysql db by docker
Mar 28, 2022
b848eb1
fix volume command
Mar 28, 2022
82af43a
fix test
Mar 30, 2022
5826c82
fix initial incoding
Mar 30, 2022
866f61b
fix test
Mar 30, 2022
d4f1ee9
fix tests
Mar 30, 2022
650fc55
update
Mar 30, 2022
a847234
fix test
Mar 30, 2022
d39df8e
fix tests
Mar 30, 2022
a7e8676
fix test
Mar 30, 2022
a50671e
Add subroutines to postgre
Mar 30, 2022
4ff661f
fix tests
Mar 30, 2022
86baeef
procedure support
Mar 30, 2022
437714c
fix tests
Mar 30, 2022
439ec3f
Support protgresql 9.5
Mar 31, 2022
6c56672
fix test
Mar 31, 2022
d96e84e
Add stored procedures to mssql
Mar 31, 2022
afc6f0d
rename subroutines in output
Apr 1, 2022
569f959
rename subroutine to function
Apr 26, 2022
8e11565
build for custom branch
Apr 26, 2022
f0a2289
non null result for json test schema
Apr 26, 2022
55d046a
fix template
Apr 26, 2022
e47d996
change reserver words style and small refactor
Apr 26, 2022
faa445f
fix query
Apr 26, 2022
588ced1
fix query
Apr 26, 2022
7cb71c1
fix missing keywords
Apr 26, 2022
8e127b3
Merge commit 'd59d55e0e46a31c2cd8c04077244b14f9db756e3' into sp_and_f…
Apr 26, 2022
c4b0273
fix conflicts
Apr 26, 2022
315231c
fix conflicts
Apr 26, 2022
05c3b3d
Merge branch 'main' into sp_and_functions
YauhenPylAurea Apr 26, 2022
412f8d9
Revert "fix conflicts"
Apr 26, 2022
6e82de9
fix build
Apr 26, 2022
77a078a
fix tests
Apr 26, 2022
86694de
remove personal check
Apr 26, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions sample/detect_relations_singular/README.md
Original file line number Diff line number Diff line change
@@ -22,6 +22,13 @@ Sample database document.
| [user](user.md) | 6 | User table | BASE TABLE | |
| [user_option](user_option.md) | 4 | User option table | BASE TABLE | |

## Subroutines

| Name | ReturnType | Arguments | Type |
| ---- | ------- | ------- | ---- |
| CustomerLevel | varchar | credit decimal | FUNCTION |
| GetAllComments | | | PROCEDURE |

## Relations

![er](schema.svg)
7 changes: 7 additions & 0 deletions sample/dict/README.md
Original file line number Diff line number Diff line change
@@ -14,6 +14,13 @@
| [user_options](user_options.md) | 4 | User options table | BASE TABLE |
| [users](users.md) | 6 | Users table | BASE TABLE |

## Subroutines

| Name | ReturnType | Arguments | Type |
| ---- | ------- | ------- | ---- |
| CustomerLevel | varchar | credit decimal | FUNCTION |
| GetAllComments | | | PROCEDURE |

## ER図

![er](schema.svg)