Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[db] Include attachmentkey column when retrieving basket info #100

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modelbaker/dbconnector/db_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ def get_baskets_info(self):
basket_t_id
basket_t_ili_tid
topic
attachmentkey
dataset_t_id
datasetname
"""
Expand Down
1 change: 1 addition & 0 deletions modelbaker/dbconnector/gpkg_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,7 @@ def get_baskets_info(self):
"""SELECT b.t_id as basket_t_id,
b.t_ili_tid as basket_t_ili_tid,
b.topic as topic,
b.attachmentkey as attachmentkey,
d.t_id as dataset_t_id,
d.datasetname as datasetname from {basket_table} b
JOIN {dataset_table} d
Expand Down
1 change: 1 addition & 0 deletions modelbaker/dbconnector/mssql_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,7 @@ def get_baskets_info(self):
"""SELECT b.t_id as basket_t_id,
b.t_ili_tid as basket_t_ili_tid,
b.topic as topic,
b.attachmentkey as attachmentkey,
d.t_id as dataset_t_id,
d.datasetname as datasetname from {schema}.{basket_table} b
JOIN {schema}.{dataset_table} d
Expand Down
1 change: 1 addition & 0 deletions modelbaker/dbconnector/pg_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,7 @@ def get_baskets_info(self):
"""SELECT b.t_id as basket_t_id,
b.t_ili_tid as basket_t_ili_tid,
b.topic as topic,
b.attachmentkey as attachmentkey,
d.t_id as dataset_t_id,
d.datasetname as datasetname from {schema}.{basket_table} b
JOIN {schema}.{dataset_table} d
Expand Down
Loading