Open VirtualDOMinic opened 6 years ago
Had a look into this last night but didn't have enough time to figure it out, sadly!
We want to be able to generate INSERT INTO queries that allow us to:
INSERT INTO
resource_id
direct
indirect
demographic_resource_link
The above should be a single, multi-part transaction/query for each resource, I believe!
Possible useful resources:
Hope they help! Definitely overkill to look at all of them, and I'm sure Aisha will have some useful insight, if/when she's in.
Initial CTE query created.
Possibly can combine with a JS script to bulk add resources.
Had a look into this last night but didn't have enough time to figure it out, sadly!
We want to be able to generate
INSERT INTO
queries that allow us to:resource_id
of the newly-inserted objectresource_id
and thedirect
andindirect
tags to insert into our linking table (demographic_resource_link
)The above should be a single, multi-part transaction/query for each resource, I believe!
Possible useful resources:
Hope they help! Definitely overkill to look at all of them, and I'm sure Aisha will have some useful insight, if/when she's in.