Connecting Data to members only

Should i use this code?I am not sure what should i type into the xxxxx, since it is a variable. Every owner has their owner owner ID.

import wixData from 'wix-data'; 
// ... 
 $w("#myDataset").setFilter( wixData.filter()
   .startsWith("_owner", "XXXXXXX") 
 );