Documentation ¶
Overview ¶
Copyright © 2020 Marvin
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2020 Marvin ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2020 Marvin ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2020 Marvin ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func MYSQLDatabaseTableColumnMapORACLECompatibleDatatypeRule(c *Column, buildinDatatypes []*buildin.BuildinDatatypeRule) (string, string, error)
- func MYSQLHandleColumnRuleWithPriority(originSourceTable, originColumnName, originDatatype string, ...) (string, string, error)
- func MYSQLHandleColumnRuleWitheDefaultValuePriority(columnName, datatype, originDefaultValue, sourceCharset, targetCharset string, ...) (string, error)
- func OracleDatabaseTableColumnMapMYSQLCompatibleDatatypeRule(taskFlow string, c *Column, buildinDatatypes []*buildin.BuildinDatatypeRule) (string, string, error)
- func OracleHandleColumnRuleWithPriority(originSourceTable, originColumnName string, ...) (string, string, error)
- func OracleHandleColumnRuleWitheDefaultValuePriority(columnName, originDefaultValue, sourceCharset, targetCharset string, ...) (string, error)
- func PostgresDatabaseTableColumnMapMYSQLCompatibleDatatypeRule(taskFlow string, c *Column, buildinDatatypes []*buildin.BuildinDatatypeRule) (string, string, error)
- func PostgresHandleColumnRuleWithPriority(originSourceTable, originColumnName string, ...) (string, string, error)
- func PostgresHandleColumnRuleWitheDefaultValuePriority(columnName, originDefaultValue, sourceCharset, targetCharset string, ...) (string, error)
- type Column
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MYSQLHandleColumnRuleWithPriority ¶
func MYSQLHandleColumnRuleWithPriority(originSourceTable, originColumnName, originDatatype string, buildInDatatype, originDefaultValue, sourceCharset, targetCharset string, buildinDefaultValueRules []*buildin.BuildinDefaultvalRule, taskRules []*migrate.TaskStructRule, schemaRules []*migrate.SchemaStructRule, tableRules []*migrate.TableStructRule, columnRules []*migrate.ColumnStructRule) (string, string, error)
MYSQLHandleColumnRuleWithPriority priority, return column datatype and default value column > table > schema > task
func OracleHandleColumnRuleWithPriority ¶
func OracleHandleColumnRuleWithPriority(originSourceTable, originColumnName string, originDatatype, buildInDatatype, originDefaultValue, sourceCharset, targetCharset string, buildinDefaultValueRules []*buildin.BuildinDefaultvalRule, taskRules []*migrate.TaskStructRule, schemaRules []*migrate.SchemaStructRule, tableRules []*migrate.TableStructRule, columnRules []*migrate.ColumnStructRule) (string, string, error)
OracleHandleColumnRuleWithPriority priority, return column datatype and default value column > table > schema > task
func PostgresDatabaseTableColumnMapMYSQLCompatibleDatatypeRule ¶ added in v0.0.15
func PostgresHandleColumnRuleWithPriority ¶ added in v0.0.15
func PostgresHandleColumnRuleWithPriority(originSourceTable, originColumnName string, originDatatype, buildInDatatype, originDefaultValue, sourceCharset, targetCharset string, buildinDefaultValueRules []*buildin.BuildinDefaultvalRule, taskRules []*migrate.TaskStructRule, schemaRules []*migrate.SchemaStructRule, tableRules []*migrate.TableStructRule, columnRules []*migrate.ColumnStructRule) (string, string, error)
PostgresHandleColumnRuleWithPriority priority, return column datatype and default value column > table > schema > task