To avoid inline SQL, we are extending the exposure-lib to cover every database interaction. Here we replace the insertion of reference assets.
\rfc @laurens @tara @shinde