{"id":1499,"date":"2024-12-13T09:53:47","date_gmt":"2024-12-13T06:53:47","guid":{"rendered":"https:\/\/rantivi.ru\/?p=1499"},"modified":"2024-12-13T10:54:36","modified_gmt":"2024-12-13T07:54:36","slug":"%d0%be%d0%b1%d0%bd%d0%be%d0%b2%d0%bb%d0%b5%d0%bd%d0%b8%d0%b5-%d0%b7%d0%bd%d0%b0%d1%87%d0%b5%d0%bd%d0%b8%d0%b9-%d0%b2-%d1%82%d0%b0%d0%b1%d0%bb%d0%b8%d1%86%d0%b0%d1%85-%d0%ba%d0%be%d0%bc%d0%b0%d0%bd","status":"publish","type":"post","link":"https:\/\/rantivi.ru\/?p=1499","title":{"rendered":"\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0445 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 update."},"content":{"rendered":"\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441:\n\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">UPDATE &#91;table] table_name \nSET column1 = value1, column2 = value2, ... \n&#91;WHERE condition] \n&#91;ORDER BY expression &#91; ASC | DESC ]]\n&#91;LIMIT number_rows];<\/mark><\/code><\/pre>\n\n\n\n<p>\u0414\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043a\u0430\u043a\u0438\u0445 \u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043d\u0443\u0436\u043d\u043e \u0443\u043c\u0435\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 <a href=\"https:\/\/rantivi.ru\/?p=1396\" data-type=\"link\" data-id=\"https:\/\/rantivi.ru\/?p=1396\">WHERE<\/a> \u0434\u043b\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 .<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u044b\u0431\u0435\u0440\u0435\u043c \u0431\u0430\u0437\u0443 \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c .<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>use asteriskcdrdb<\/code><\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u041d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c <mark style=\"background-color:#d8613c\" class=\"has-inline-color\">\u0438\u043c\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u044b<\/mark> , <mark style=\"background-color:#b1c5a4\" class=\"has-inline-color\">\u0438\u043c\u044f \u0441\u0442\u043e\u043b\u0431\u0446\u0430<\/mark>, \u0438 <mark style=\"background-color:#c2a990\" class=\"has-inline-color\">\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0431\u0443\u0434\u0435\u043c \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446 <\/mark>!<\/p>\n\n\n\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 cdr \u0432 \u0441\u0442\u043e\u043b\u0431\u0446\u0435 userfield, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a\u0443\u044e \u044f\u0447\u0435\u0439\u043a\u0443 \u044f \u0431\u0443\u0434\u0443 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c , \u044f \u0445\u043e\u0447\u0443 \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e \u0432 \u0441\u0442\u043e\u043b\u0431\u0446\u0435 calldate (\u0412\u0440\u0435\u043c\u044f \u043d\u0430\u0447\u0430\u043b\u043e \u0437\u0432\u043e\u043d\u043a\u0430) \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 WHERE , <\/p>\n\n\n\n<p>\u041d\u043e \u0441\u043f\u0435\u0440\u0432\u0430 \u044f \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u044e \u0447\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u044f\u0447\u0435\u0439\u043a\u0435:<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>select <mark style=\"background-color:#b1c5a4\" class=\"has-inline-color\">calldate,userfield<\/mark> from <mark style=\"background-color:#d8613c\" class=\"has-inline-color\">cdr<\/mark> WHERE <mark style=\"background-color:#b1c5a4\" class=\"has-inline-color\">calldate<\/mark> = '<mark style=\"background-color:#c2a990\" class=\"has-inline-color\">2024-12-12 11:34:03<\/mark>';<\/code><\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"646\" height=\"219\" src=\"https:\/\/rantivi.ru\/wp-content\/uploads\/2024\/12\/image-4.png\" alt=\"\" class=\"wp-image-1504\" srcset=\"https:\/\/rantivi.ru\/wp-content\/uploads\/2024\/12\/image-4.png 646w, https:\/\/rantivi.ru\/wp-content\/uploads\/2024\/12\/image-4-300x102.png 300w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u0432\u0438\u0436\u0443 \u0447\u0442\u043e \u044f\u0447\u0435\u0439\u043a\u0438 \u043f\u0443\u0441\u0442\u044b\u0435. <\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>update <mark style=\"background-color:#d8613c\" class=\"has-inline-color\">cdr<\/mark>  set <mark style=\"background-color:#b1c5a4\" class=\"has-inline-color\">userfield<\/mark> = 'Hello' WHERE <mark style=\"background-color:#b1c5a4\" class=\"has-inline-color\">calldate<\/mark> = '<mark style=\"background-color:#c2a990\" class=\"has-inline-color\">2024-12-12 11:34:03<\/mark>';<\/code><\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u043c\u044b \u043f\u043e\u043c\u0435\u043d\u044f\u043b\u0438 \u0432 \u044f\u0447\u0435\u0439\u043a\u0430\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 Hello<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"646\" height=\"294\" src=\"https:\/\/rantivi.ru\/wp-content\/uploads\/2024\/12\/image-5.png\" alt=\"\" class=\"wp-image-1505\" srcset=\"https:\/\/rantivi.ru\/wp-content\/uploads\/2024\/12\/image-5.png 646w, https:\/\/rantivi.ru\/wp-content\/uploads\/2024\/12\/image-5-300x137.png 300w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><\/figure>\n\n\n\n<div style=\"height:110px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043a\u0430\u043a\u0438\u0445 \u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043d\u0443\u0436\u043d\u043e \u0443\u043c\u0435\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 WHERE \u0434\u043b\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 . \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u044b\u0431\u0435\u0440\u0435\u043c \u0431\u0430\u0437\u0443 \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c . \u041d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u0438\u043c\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u044b , \u0438\u043c\u044f \u0441\u0442\u043e\u043b\u0431\u0446\u0430, \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0431\u0443\u0434\u0435\u043c \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446 ! \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 cdr \u0432 \u0441\u0442\u043e\u043b\u0431\u0446\u0435 userfield, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0443\u0436\u043d\u043e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"wp-custom-template-1","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-1499","post","type-post","status-publish","format-standard","hentry","category-mysql"],"_links":{"self":[{"href":"https:\/\/rantivi.ru\/index.php?rest_route=\/wp\/v2\/posts\/1499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rantivi.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rantivi.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rantivi.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rantivi.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1499"}],"version-history":[{"count":11,"href":"https:\/\/rantivi.ru\/index.php?rest_route=\/wp\/v2\/posts\/1499\/revisions"}],"predecessor-version":[{"id":1512,"href":"https:\/\/rantivi.ru\/index.php?rest_route=\/wp\/v2\/posts\/1499\/revisions\/1512"}],"wp:attachment":[{"href":"https:\/\/rantivi.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rantivi.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rantivi.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}