{"id":4470,"date":"2023-11-29T15:13:16","date_gmt":"2023-11-29T15:13:16","guid":{"rendered":"https:\/\/ibex.tech\/python\/?p=4470"},"modified":"2023-11-29T15:13:41","modified_gmt":"2023-11-29T15:13:41","slug":"limit","status":"publish","type":"post","link":"https:\/\/ibex.tech\/python\/database\/sqlite\/queries\/select\/limit","title":{"rendered":"LIMIT"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Limit example<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>    db1cursor.execute(\"\"\"SELECT * FROM my_table \r\n                      WHERE some_column = ?\r\n                      ORDER BY some_column_name ASC\n                      LIMIT 1\r\n                      \"\"\",(my_value1,))\r\n    rows = db1cursor.fetchall()<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Limit example<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[357],"tags":[],"class_list":["post-4470","post","type-post","status-publish","format-standard","hentry","category-select"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4470","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/comments?post=4470"}],"version-history":[{"count":1,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4470\/revisions"}],"predecessor-version":[{"id":4471,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4470\/revisions\/4471"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/media?parent=4470"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/categories?post=4470"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/tags?post=4470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}