A simple go module to parse all table columns from a running database and transform them into a generic go struct
 
 
Go to file
Jonas Letzbor 46988b9aa0
Allow custom function to get import and type for nullable data types
2024-05-17 07:54:45 +02:00
scripts Initial commit 2024-04-07 20:55:50 +02:00
structt Allow custom function to get import and type for nullable data types 2024-05-17 07:54:45 +02:00
.gitignore Initial commit 2024-04-07 20:55:50 +02:00
LICENSE Add MIT license 2024-05-16 22:09:42 +02:00
README.md Add oracle support 2024-04-12 12:01:00 +02:00
ctypes.go [Mariadb] Initial support for geometric data type: POINT 2024-04-28 19:54:36 +02:00
go.mod Add oracle support 2024-04-12 12:01:00 +02:00
go.sum Add oracle support 2024-04-12 12:01:00 +02:00
mariadb.go [MariaDB] Extend type detection 2024-04-30 13:00:56 +02:00
mariadb_test.go Add oracle support 2024-04-12 12:01:00 +02:00
oracle.go Add oracle support 2024-04-12 12:01:00 +02:00
oracle_test.go Add oracle support 2024-04-12 12:01:00 +02:00
parser.go Initial commit 2024-04-07 20:55:50 +02:00
types.go [Mariadb] Initial support for geometric data type: POINT 2024-04-28 19:54:36 +02:00
utils_test.go Add oracle support 2024-04-12 12:01:00 +02:00

README.md

DDL-Parser

DDL-Parser is a simple go module to parse all table columns from a running database and transform them into a generic go struct.

The following SQL databases are supported and tested:

  • MariaDB 10.6
  • Oracle 21