├── .gitignore ├── LICENSE ├── README.md ├── db ├── alias_bag.go ├── association.go ├── case.go ├── column.go ├── column_holder.go ├── crawler.go ├── crawler_node.go ├── criteria.go ├── db.go ├── delete.go ├── discriminator.go ├── dml_base.go ├── dml_core.go ├── e_token.go ├── entity_map.go ├── entity_property.go ├── entity_transformer.go ├── entity_tree_transformer.go ├── insert.go ├── join.go ├── named_parameter_utils.go ├── order.go ├── parsed_sql.go ├── query.go ├── relation.go ├── table.go ├── token.go ├── token_factory.go ├── transaction_manager.go ├── translator.go ├── union.go └── update.go ├── dbx ├── api.go ├── fails.go ├── misc.go └── simple_dba.go ├── example └── basic.go ├── go.mod ├── go.sum ├── test ├── apple.jpg ├── common │ ├── common.go │ ├── entities.go │ └── testcontainer.go ├── cook-owl.png ├── er.png ├── er2.png ├── er3.png ├── firebird │ ├── db_fb_test.go │ ├── drop_firebirdsql.sql │ └── tables_firebirdsql.sql ├── mysql │ ├── db_mysql_test.go │ ├── drop_mysql.sql │ └── tables_mysql.sql ├── oracle │ ├── db_oracle_test.go │ ├── docker │ │ ├── Dockerfile │ │ └── init.sql │ ├── drop_oracle.sql │ ├── readme-oci.txt │ └── tables_oracle.sql ├── postgresql │ ├── db_pg_test.go │ ├── drop_postgresql.sql │ └── tables_postgresql.sql └── scrapbook.png ├── transformers └── simple_abstract_row_transformer.go └── translators ├── firebird_translator.go ├── generic_translator.go ├── mysql5_translator.go ├── oracle_translator.go └── postgre_translator.go /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode 2 | **/*.log -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/README.md -------------------------------------------------------------------------------- /db/alias_bag.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/alias_bag.go -------------------------------------------------------------------------------- /db/association.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/association.go -------------------------------------------------------------------------------- /db/case.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/case.go -------------------------------------------------------------------------------- /db/column.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/column.go -------------------------------------------------------------------------------- /db/column_holder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/column_holder.go -------------------------------------------------------------------------------- /db/crawler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/crawler.go -------------------------------------------------------------------------------- /db/crawler_node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/crawler_node.go -------------------------------------------------------------------------------- /db/criteria.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/criteria.go -------------------------------------------------------------------------------- /db/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/db.go -------------------------------------------------------------------------------- /db/delete.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/delete.go -------------------------------------------------------------------------------- /db/discriminator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/discriminator.go -------------------------------------------------------------------------------- /db/dml_base.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/dml_base.go -------------------------------------------------------------------------------- /db/dml_core.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/dml_core.go -------------------------------------------------------------------------------- /db/e_token.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/e_token.go -------------------------------------------------------------------------------- /db/entity_map.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/entity_map.go -------------------------------------------------------------------------------- /db/entity_property.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/entity_property.go -------------------------------------------------------------------------------- /db/entity_transformer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/entity_transformer.go -------------------------------------------------------------------------------- /db/entity_tree_transformer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/entity_tree_transformer.go -------------------------------------------------------------------------------- /db/insert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/insert.go -------------------------------------------------------------------------------- /db/join.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/join.go -------------------------------------------------------------------------------- /db/named_parameter_utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/named_parameter_utils.go -------------------------------------------------------------------------------- /db/order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/order.go -------------------------------------------------------------------------------- /db/parsed_sql.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/parsed_sql.go -------------------------------------------------------------------------------- /db/query.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/query.go -------------------------------------------------------------------------------- /db/relation.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/relation.go -------------------------------------------------------------------------------- /db/table.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/table.go -------------------------------------------------------------------------------- /db/token.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/token.go -------------------------------------------------------------------------------- /db/token_factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/token_factory.go -------------------------------------------------------------------------------- /db/transaction_manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/transaction_manager.go -------------------------------------------------------------------------------- /db/translator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/translator.go -------------------------------------------------------------------------------- /db/union.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/union.go -------------------------------------------------------------------------------- /db/update.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/db/update.go -------------------------------------------------------------------------------- /dbx/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/dbx/api.go -------------------------------------------------------------------------------- /dbx/fails.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/dbx/fails.go -------------------------------------------------------------------------------- /dbx/misc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/dbx/misc.go -------------------------------------------------------------------------------- /dbx/simple_dba.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/dbx/simple_dba.go -------------------------------------------------------------------------------- /example/basic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/example/basic.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/go.sum -------------------------------------------------------------------------------- /test/apple.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/apple.jpg -------------------------------------------------------------------------------- /test/common/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/common/common.go -------------------------------------------------------------------------------- /test/common/entities.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/common/entities.go -------------------------------------------------------------------------------- /test/common/testcontainer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/common/testcontainer.go -------------------------------------------------------------------------------- /test/cook-owl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/cook-owl.png -------------------------------------------------------------------------------- /test/er.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/er.png -------------------------------------------------------------------------------- /test/er2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/er2.png -------------------------------------------------------------------------------- /test/er3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/er3.png -------------------------------------------------------------------------------- /test/firebird/db_fb_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/firebird/db_fb_test.go -------------------------------------------------------------------------------- /test/firebird/drop_firebirdsql.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/firebird/drop_firebirdsql.sql -------------------------------------------------------------------------------- /test/firebird/tables_firebirdsql.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/firebird/tables_firebirdsql.sql -------------------------------------------------------------------------------- /test/mysql/db_mysql_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/mysql/db_mysql_test.go -------------------------------------------------------------------------------- /test/mysql/drop_mysql.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/mysql/drop_mysql.sql -------------------------------------------------------------------------------- /test/mysql/tables_mysql.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/mysql/tables_mysql.sql -------------------------------------------------------------------------------- /test/oracle/db_oracle_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/oracle/db_oracle_test.go -------------------------------------------------------------------------------- /test/oracle/docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/oracle/docker/Dockerfile -------------------------------------------------------------------------------- /test/oracle/docker/init.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/oracle/docker/init.sql -------------------------------------------------------------------------------- /test/oracle/drop_oracle.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/oracle/drop_oracle.sql -------------------------------------------------------------------------------- /test/oracle/readme-oci.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/oracle/readme-oci.txt -------------------------------------------------------------------------------- /test/oracle/tables_oracle.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/oracle/tables_oracle.sql -------------------------------------------------------------------------------- /test/postgresql/db_pg_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/postgresql/db_pg_test.go -------------------------------------------------------------------------------- /test/postgresql/drop_postgresql.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/postgresql/drop_postgresql.sql -------------------------------------------------------------------------------- /test/postgresql/tables_postgresql.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/postgresql/tables_postgresql.sql -------------------------------------------------------------------------------- /test/scrapbook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/test/scrapbook.png -------------------------------------------------------------------------------- /transformers/simple_abstract_row_transformer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/transformers/simple_abstract_row_transformer.go -------------------------------------------------------------------------------- /translators/firebird_translator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/translators/firebird_translator.go -------------------------------------------------------------------------------- /translators/generic_translator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/translators/generic_translator.go -------------------------------------------------------------------------------- /translators/mysql5_translator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/translators/mysql5_translator.go -------------------------------------------------------------------------------- /translators/oracle_translator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/translators/oracle_translator.go -------------------------------------------------------------------------------- /translators/postgre_translator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quintans/goSQL/HEAD/translators/postgre_translator.go --------------------------------------------------------------------------------