Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "crisoftcalendar" : {
- "usuarios" : {
- "-Jx3DKK8QsWGzdfowdAR" : {
- "listaUsuario" : [ {
- "nombre" : "hijo1 prueba",
- "usuario" : "hijo1mauricio@email.com"
- }, {
- "nombre" : "hijo2 prueba",
- "usuario" : "hijo2mauricio@email.com"
- } ],
- "nombre" : "prueba",
- "usuario" : "mauricio@email.com"
- }
- }
- }
- }
- ref2.startAt('mauricio@email.com').endAt('mauricio@email.com').on('value', function(snap) {
- console.log("name '" + snap.key() + "' val = " + snap.val());
- snap.forEach(function(data) {
- console.log("clave '" + data.key() + "'' valor = " + data.val().usuario);
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement