How to display a database row if no results are found in search?

Note: You should post a new question so that others may participate and learn.

You can display a message when you set the filter:

Instead of:

$w('#PODPlatform').setFilter(newFilter); 

You can do something like this:

$w("#PODPlatform").setFilter(newFilter)
.then( () => {
    console.log("Dataset is now filtered");
    let count = $w("#PODPlatform").getTotalCount();
    if(count === 0) {
        // display message that no items found
    }
} )
.catch( (err) => {
    console.log(err);
} );