simple show/hide button based on dataset Field Key value

Of course you can:

  1. Query the database collection with .eq(fieldtypename, true) and get all the matched results

  2. if( results.items.length > 0){$w(“button”).hide();}else{$w(“button”).show();}
    See:
    https://www.wix.com/velo/reference/wix-data/query
    https://www.wix.com/velo/reference/$w/hiddenmixin/show
    https://www.wix.com/velo/reference/$w/hiddenmixin/hide