Connecting a Dataset URL to an Iframe Embed Element

Here is what I have:

I have a URL field named Spektrix URL with Field Key of spektrixUrl

I have a title as The Nutcracker – Dec 4

The ID of the IFRAME element is “#spektrix

And here is my Velo code

import wixData from ‘wix-data’ ;

$w . onReady ( function () {
wixData . query ( ‘spektrixUrl’ )
. eq ( ‘title’ , ‘The Nutcracker – Dec 4’ )
. find ()
. then ( res => {
$w ( ‘#spektrix’ ). src = res . items [ 0 ]. spektrixUrl ;
})
});

This why I asked about where to put the ID /Name of the Dataset which I have as #ticketData

My question how does this code know to pull from this dataset? THANKS IN ADVANCE FOR ALL YOUR TIME.