logged in user read and write page

Hi i’ve tried this which doesn’t actually work, although i know its my mistake

import wixData from ‘wix-data’;
wixData.query(“memberTextData”)
$w(“#dropdown6”).value = $w(‘#memberTextData’).getCurrentItem();
.find()
.then( (results) => {
console.log(results.items);
} );

Note: dropdown 6 is one of the form fields on the page and member text data is the collection

Thanks
Adam