var isArray = Array.isArray || function (arr) {
return Object.prototype.toString.call(arr) === "[object Array]";
}
var isObject = function (obj) {
return Object.prototype.toString.call(obj) === "[object Object]";
}
function three (tr) {
var paths = [];
function findPath(branch, str) {
Object.keys(branch).forEach(function (key) {
if (isArray(branch[key]) || isObject(branch[key]))
findPath(branch[key], str ? str + "." + key : key);
else
paths.push(str ? str + "." + key : key);
});
}
findPath(tr, "");
return paths;
}
[
"MainService.0.Id",
"MainService.0.Name",
"MainService.0.MainService.0.Id",
"MainService.0.MainService.0.Name",
"MainService.0.MainService.0.Service.0.Id",
"MainService.0.MainService.0.Service.0.Name"
]
<img
src="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAw
AAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFz
ByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSp
a/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJl
ZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uis
F81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PH
hhx4dbgYKAAA7"
alt="Larry" />
var request = new XMLHttpRequest();
request.open('POST', '/my/url', true);
request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
request.onreadystatechange = function() {
if (this.readyState === 4) {
if (this.status >= 200 && this.status < 400) {
// Success!
var resp = this.responseText;
} else {
// Error :(
}
}
};
request.send(data);
A UUID is designed as a number that is globally unique in space and time. Two calls to UUID() are expected to generate two different values, even if these calls are performed on two separate computers that are not connected to each other.
110E8400-E29B-11D4-A716-446655440000
110E8400E29B11D4A716446655440000
UNHEX("110E8400E29B11D4A716446655440000")
HEX(field_binary)
select * from (select * from polzovateli_statistica order by started DESC) t group by uid