|
|
|
|
|
by rusebor
1263 days ago
|
|
a view would allow you to change a field's type. something like this CREATE VIEW table_read_api AS
SELECT TO_CHAR(now_int) as was_char FROM the_table; not sure that the view is an internal structure because it will be exposed via API as it is. SQL allows to swap the database at least if no specific SQL features are used. |
|
Which proves my point: if I change a field type ( in the table ), I will have to change the view type. I need to change 2 services because one of them changed an implementation detail.