Save a DB_Table
as a data link
#11295
Labels
-libs
Libraries: New libraries to be implemented
l-cloud-integration
Enso Cloud integration work
l-db-read
Libraries: database reader
Similarly to #11294, we want to be able to save a specific
DB_Table
as a data link.This should create a data link that will connect to the same database and then read the query that the
DB_Table.to_sql
returns, and reconstruct theDB_Table
view (although it will have a different underlying structure - instead of all the IR used to construct the query it will just contain the SQL code usingFrom_Spec.Query
).This behaves essentially like storing a
VIEW
for the query represented by theDB_Table
.If the underlying connection does not support saving as data link (e.g. SQLite), it should raise a user-friendly error.
The text was updated successfully, but these errors were encountered: