]> Kevux Git Server - koopa/commit
Progress: continue development on database abstraction layer
authorKevin Day <thekevinday@gmail.com>
Mon, 3 Dec 2018 00:51:01 +0000 (18:51 -0600)
committerKevin Day <thekevinday@gmail.com>
Mon, 3 Dec 2018 00:51:01 +0000 (18:51 -0600)
commitd07b55dcf02e002573303e15719371eaabf687df
treecb8f3a9173dc6533cbff6a36b91f31e7b0be3333
parent982981f90f909bb40983e632292dec4c0cb465a7
Progress: continue development on database abstraction layer

It seems cleaner to move the trait-specific do_build operations into the traits.
This will simplify the work needed on the actions shared between each DB operation.
This unlike classfull design, this still allows flexibility to do something completely diffeent if needed by the PostgeSQL language.
Begin some cleanup before I start diving into the alter foreign table code (which is quite extensive).
After seeing how if..thens vs switch..cases, I intend to remove the use of switches (they end up way too ugly and hard to read).
I also intend to make sure that $this->value is only ever assigned once the string has been built (preserving the state on error exit).
35 files changed:
common/database/classes/database_alter_aggregate.php
common/database/classes/database_alter_coalation.php
common/database/classes/database_alter_conversion.php
common/database/classes/database_alter_database.php
common/database/classes/database_alter_default_privileges.php
common/database/classes/database_alter_domain.php
common/database/classes/database_alter_event_trigger.php
common/database/classes/database_alter_extension.php
common/database/classes/database_alter_foreign_data_wrapper.php
common/database/classes/database_alter_foreign_table.php
common/database/classes/database_member_object.php [new file with mode: 0644]
common/database/classes/database_query.php
common/database/classes/database_string.php
common/database/enumerations/database_action.php
common/database/enumerations/database_handler.php [new file with mode: 0644]
common/database/enumerations/database_member_object.php [new file with mode: 0644]
common/database/enumerations/database_options.php [new file with mode: 0644]
common/database/enumerations/database_property.php
common/database/enumerations/database_validator.php [new file with mode: 0644]
common/database/traits/database_action.php
common/database/traits/database_group_by.php
common/database/traits/database_handler.php [new file with mode: 0644]
common/database/traits/database_in_schema.php
common/database/traits/database_option.php
common/database/traits/database_options.php [new file with mode: 0644]
common/database/traits/database_order_by.php
common/database/traits/database_owner_to.php
common/database/traits/database_rename_column_to.php [new file with mode: 0644]
common/database/traits/database_rename_to.php
common/database/traits/database_reset.php
common/database/traits/database_set.php
common/database/traits/database_set_schema.php
common/database/traits/database_set_tablespace.php
common/database/traits/database_validator.php [new file with mode: 0644]
todo.notes [new file with mode: 0644]