This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.personas.update( { identificador: '14026086' }, { $inc: { age : 1 } } ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _idUnico = function(secuencia, separador) { | |
//valores por defecto | |
secuencia = typeof(secuencia) != 'undefined' ? secuencia : 1; | |
separador = typeof(separador) != 'undefined' ? separador : '-'; | |
var id = '', | |
a=1; | |
for (var i = 0; i < secuencia; i++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (typeof window.console == "undefined" || typeof window.console.log == "undefined") { | |
window.console = { | |
log: function() { | |
}, | |
info: function() { | |
}, | |
warn: function() { | |
} | |
}; | |
} |
NewerOlder