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 a resource with all its relevant info
- Get the
resource_id of the newly-inserted object
- Use this
resource_id and the direct and indirect 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.
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 INTOqueries that allow us to:resource_idof the newly-inserted objectresource_idand thedirectandindirecttags 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.