mercredi 15 juin 2016

Check if key is exciting already Firebase, Swift


I have an element that contains some usernames and details of that. I tried a lot but don't find out how to check if the key is already existing.

Data structure:

nicknames{

Jakob{...}

Dieter{...}

}

I am searching for something like:

if ref.containsChild("Dieter"){...}

Aucun commentaire:

Enregistrer un commentaire