For example, before I put something in the database I want to check if that entry is already there. I try to do this:
gun.get('demograph').once((data, key) => {
console.log("realtime updates 1:", data);
});
but I didn't get a response if 'demograph' is or not in the database( for example to get true or false) I just get the result.
I also tried to use .not from extensible API but I is not working. Anyone has any idea how to check if an entry is already in the database?