{"id":1641,"date":"2022-01-15T14:55:03","date_gmt":"2022-01-15T14:55:03","guid":{"rendered":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/"},"modified":"2022-01-15T14:55:03","modified_gmt":"2022-01-15T14:55:03","slug":"pdomodel-database-abstraction-and-helper-php-class","status":"publish","type":"post","link":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/","title":{"rendered":"PDOModel &#8211; Database abstraction and helper PHP class"},"content":{"rendered":"<a href=\"https:\/\/go.fiverr.com\/visit\/?bta=1052423&nci=17043\" Target=\"_Top\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" src=\"https:\/\/mailinvest.blog\/wp-content\/themes\/breek\/assets\/images\/transparent.gif\" data-lazy=\"true\" data-src=\"https:\/\/fiverr.ck-cdn.com\/tn\/serve\/?cid=40081059\"  width=\"601\" height=\"201\"><\/a>\n<p><a class=\"wp_automatic_demo_btn\" target=\"_blank\" href=\"https:\/\/1.envato.market\/c\/2840012\/950273\/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Fpdomodel-database-abstraction-and-helper-php-class%2Ffull_screen_preview%2F15832775\" rel=\"noopener\">LIVE PREVIEW<\/a><a class=\"wp_automatic_buy_btn\" target=\"_blank\" href=\"https:\/\/1.envato.market\/c\/2840012\/950273\/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Fpdomodel-database-abstraction-and-helper-php-class%2F15832775\" rel=\"noopener\">BUY FOR $13<\/a><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/mailinvest.blog\/wp-content\/themes\/breek\/assets\/images\/transparent.gif\" data-lazy=\"true\" data-src=\"https:\/\/previews.customer.envatousercontent.com\/files\/258567753\/PDOModel.jpg\"><\/p>\n<h2 id=\"item-description__-more-details\"> More Details <\/h2>\n<p><a href=\"http:\/\/demo.digitaldreamstech.com\/PDOModel\/\" rel=\"nofollow\">http:\/\/demo.digitaldreamstech.com\/PDOModel\/<\/a> <\/p>\n<h2 id=\"item-description__-documentation\"> Documentation <\/h2>\n<p>\n<a href=\"http:\/\/demo.digitaldreamstech.com\/PDOModel\/documentation\/pdo\/\" rel=\"nofollow\">http:\/\/demo.digitaldreamstech.com\/PDOModel\/documentation\/pdo\/<\/a><\/p>\n<h2 id=\"item-description__-pdomodel-database-abstraction-and-helper-php-class-that-helps-to-do-insert\"> PDOModel &#8211; Database abstraction and helper PHP class that helps to do insert, update, delete, select operation using PDO without writing any queries and with much lesser code. It supports <strong> Mysql, Postgres,SQlite  and SQL Server database<\/strong>. <\/h2>\n<p><\/p>\n<p> Version 1.3 &#8211; PDOModel now supports SQL Server along with PGSQL, SQLite and Mysql.<\/p>\n<p>\nPDOModel provides a complete solution to perform <strong>CRUD<\/strong> operations on three different types of database (Mysql, Postgres and Sqlite). It provides various helper functions to export data directly to <strong>csv,excel,xml,pdf,html<\/strong> and many more useful functions.<br \/>\n<\/p>\n<h3 id=\"item-description__example-of-how-to-write-sql-select-query-using-pdomodel\">Example of how to write SQL select query using PDOModel<\/h3>\n<p><code><br \/>\n$pdomodel = new PDOModel(); \/\/create object of the PDOModel class<br \/>\n$pdomodel-&gt;connect(\"localhost\", \"root\", \"\", \"pdocrud\");\/\/connect to database<br \/>\n$result =  $pdomodel-&gt;select(\"emp\");  \/\/select * from `emp`<br \/>\n<\/code><br \/>\n<\/p>\n<p>That&#8217;s it, you need to write just 2-3 line of code. You can write very complex queries using PDOModel functions<\/p>\n<h2 id=\"item-description__-pdomodel-supports-three-type-of-database-mysql-postgres-and-sqlite\">\n<br \/>\n<img decoding=\"async\" src=\"https:\/\/mailinvest.blog\/wp-content\/themes\/breek\/assets\/images\/transparent.gif\" data-lazy=\"true\" data-src=\"http:\/\/demo.digitaldreamstech.com\/PDOModel\/images\/pdo-db-connections.jpg\" alt=\"PDOModel - Database abstraction and helper PHP class - 1\" \/><br \/>\n<br \/>\nPDOModel supports three type of database, Mysql, Postgres and Sqlite.<br \/>\n<\/h2>\n<h2 id=\"item-description__-pdomodel-script-allows-you-to-export-data-directly-in-various-database\">\n<br \/>\n<img decoding=\"async\" src=\"https:\/\/mailinvest.blog\/wp-content\/themes\/breek\/assets\/images\/transparent.gif\" data-lazy=\"true\" data-src=\"http:\/\/demo.digitaldreamstech.com\/PDOModel\/images\/pdomodel-export.jpg\" alt=\"PDOModel - Database abstraction and helper PHP class - 2\" \/><br \/>\n<br \/>\nPDOModel script allows you to export data directly in various database formats.<br \/>\n<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/mailinvest.blog\/wp-content\/themes\/breek\/assets\/images\/transparent.gif\" data-lazy=\"true\" data-src=\"http:\/\/demo.digitaldreamstech.com\/PDOModel\/images\/PDOModelFeatures.jpg\" alt=\"PDOModel - Database abstraction and helper PHP class - 3\" \/><br \/>\n<\/p>\n<h2 id=\"item-description__examples\">Examples<\/h2>\n<p><code><br \/>\n$pdomodel = new PDOModel();\/\/create object<br \/>\n$pdomodel-&gt;connect(\"localhost\", \"root\", \"\", \"pdocrud\");\/\/connect to database - three different database type available<\/p>\n<p>\/* INSERT , UPDATE AND DELETE OPERATION *\/<br \/>\n$pdomodel-&gt;insert(\"emp\", array(\"firstName\" =&gt; \"John\", \"lastName\" =&gt; \"Jonathan\", \"gender\" =&gt; \"male\"));<\/p>\n<p>$pdomodel-&gt;where(\"orderId\", 7);<br \/>\n$pdomodel-&gt;update(\"order\", array(\"orderNumber\"=&gt;\"44\", \"customerName\"=&gt;\"BKG\", \"address\"=&gt;\"140 shakti nagar\"));<\/p>\n<p>$pdomodel-&gt;where(\"orderId\", 7);<br \/>\n$pdomodel-&gt;delete(\"order\");<\/p>\n<p>\/* SELECT *\/<br \/>\n$result =  $pdomodel-&gt;select(\"emp\");<\/p>\n<p>\/* WHERE, AND, OR, BETWEEN, GROUP BY, ORDER BY, LIKE , HAVING *\/<br \/>\n$pdomodel-&gt;where(\"orderNumber\", \"5\", \"!=\");<\/p>\n<p>$pdomodel-&gt;openBrackets =\"(\";<br \/>\n$pdomodel-&gt;where(\"city\", \"Indore\", \"=\");<br \/>\n$pdomodel-&gt;andOrOperator=\"OR\";<br \/>\n$pdomodel-&gt;closedBrackets =\")\";<\/p>\n<p>$pdomodel-&gt;groupByCols = array(\"orderId\");<\/p>\n<p>$pdomodel-&gt;orderByCols = array(\"orderId desc\", \"state asc\");<\/p>\n<p>$pdomodel-&gt;havingCondtion = array(\"sum(orderId)&gt;2\");<\/p>\n<p>$pdomodel-&gt;limit = \"0,5\";<\/p>\n<p>$pdomodel-&gt;where(\"empId\", array(36,37), \"BETWEEN\");<\/p>\n<p>$pdomodel-&gt;where(\"firstName\", '%P%', \"LIKE\");<\/p>\n<p>$pdomodel-&gt;where(\"empId\", array(36,37,39,40), \"IN\");<\/p>\n<p>\/* subquery\/inner query *\/<br \/>\n$pdomodel-&gt;subQuery(\"select empId from emp where empId=?\",\"empId\",array(34));<\/p>\n<p>\/* where subquery *\/<br \/>\n$pdomodel-&gt;where_subquery(\"orderId\", \"select orderId from `order` where orderId=?\", \"IN\",array(10));<\/p>\n<p>\/*rename, trucate, drop table, column name, primary key, tablefield info*\/<br \/>\n$pdomodel-&gt;truncateTable(\"wp_postmeta\");<br \/>\n$pdomodel-&gt;renameTable(\"states\",\"state\");<br \/>\n$pdomodel-&gt;dropTable(\"empleave\");<br \/>\n$records = $pdomodel-&gt;columnNames(\"order\");<br \/>\n$records = $pdomodel-&gt;primaryKey(\"order\");<br \/>\n$records = $pdomodel-&gt;tableFieldInfo(\"order\");<\/p>\n<p>\/*execute sql*\/<br \/>\n$result =  $pdomodel-&gt;executeQuery(\"select * from emp where empId = ?\", array(39));<\/p>\n<p><\/code><br \/>\n<\/p>\n<h2 id=\"item-description__main-features\">Main Features:<\/h2>\n<ol>\n<li>Perform Insert, update, delete and select operations  using simple functions<\/li>\n<li>Three different types of database support (Mysql, PGSql and SQLite)<\/li>\n<li>Complex queries support with use of multiple &#8220;and&#8221; and &#8220;or&#8221;<\/li>\n<li>Multiple table join Operation  using simple functions<\/li>\n<li>Table related operations like get all tables from database, truncate table, delete table, rename table etc.<\/li>\n<li>Subquery\/inner query can be embedded<\/li>\n<li>Column based operation like getting all columns of table, primary key of table etc<\/li>\n<li>Export functions to export data in CSV, PDF, Excel, HTML, XML Format<\/li>\n<li>Helper functions  like pagination, random password generation<\/li>\n<li>Best practices using PDO with use of prepared statements<\/li>\n<li>Support for PDO Transactions<\/li>\n<li>Support for batch operations for insert, update and delete<\/li>\n<li>Execute query directly with parameter binding<\/li>\n<li>Various debugging options like get last query, get rows inserted, error messages etc<\/li>\n<li>Support for order by, group by, like, between, in, not in, having etc<\/li>\n<li>Well documented and demo codes to make things easier to understand<\/li>\n<li>Supports method chaining<\/li>\n<li>Batch operations for faster result<\/li>\n<\/ol>\n<p>\n<\/p>\n<h3 id=\"item-description__-version-1-4\"> Version 1.4<\/h3>\n<p><\/p>\n<p>Added-<\/p>\n<ul>\n<li>Now support Insert On Duplicate Update statement also.<\/li>\n<li> Resolved bug for sqlite<\/li>\n<\/ul>\n<p><\/p>\n<h3 id=\"item-description__-version-1-3\"> Version 1.3 <\/h3>\n<p><\/p>\n<p>Added-<\/p>\n<ul>\n<li>Now support sql server database also. Please note that you must have SQLServer extension installed for this.<br \/>\nFor more details, check here <a href=\"http:\/\/php.net\/manual\/en\/ref.pdo-sqlsrv.php\" rel=\"nofollow\">http:\/\/php.net\/manual\/en\/ref.pdo-sqlsrv.php<\/a><\/li>\n<li> Resolved bug for sqlite<\/li>\n<\/ul>\n<p><\/p>\n<h3 id=\"item-description__-version-1-2\"> Version 1.2 <\/h3>\n<p><\/p>\n<p>Added-<\/p>\n<ul>\n<li>Json export option<\/li>\n<li>CSV Import option<\/li>\n<li>Excel Import option<\/li>\n<li>XML Import option<\/li>\n<li> Various functions to support chaining<\/li>\n<li> Resolved bug for truncate function for sqlite<\/li>\n<li>improved documentation<\/li>\n<\/ul>\n<p>\nMin requirement for the script <br \/>\nPHP Version 5.3 and above<br \/>\nMust have write access for download folder<\/p>\n<h3 id=\"item-description__credits\">Credits:<\/h3>\n<p>Tcpdf<br \/>\nphpExcel<\/p>\n<p><\/p>\n<h3 id=\"item-description__-our-other-popular-script\"> Our other popular script<\/h3>\n<p><a href=\"https:\/\/codecanyon.net\/item\/wordpress-awesome-import-export-plugin\/12896266\"><br \/>\n<img decoding=\"async\" src=\"https:\/\/mailinvest.blog\/wp-content\/themes\/breek\/assets\/images\/transparent.gif\" data-lazy=\"true\" data-src=\"https:\/\/image-cc.s3.envato.com\/files\/176648286\/main_image_jpg.jpg\" alt=\"Wordpress awesome import and export plugin\" \/><\/a><\/p>\n<iframe data-lazy=\"true\" data-src=\"https:\/\/www.fiverr.com\/gig_widgets?id=U2FsdGVkX18x7XQvttUTrv1oEqmGNGTgvvCUiUoJ\/AP4z\/UyMz8lXGOLpu15jIMxBbTR0gmD5uBoFvhC4KWeALQRp3h\/X\/AwcVD0K8Wj9H\/ZzYKzcCNHosB9oS4SCJJFWiN85P9ICAc4OgCoE\/wHKIY7CDkf2\/DQ1vqGvk4smVe5cRDEmrLPCWi4FC8p40VUhSmWQ5udCm0zoJtorgWv3vbDQw0kKYkwn39ozAnQXDe+YvWMxkLFWA+O3TFwkJvdkIK+\/AUSnRssPKt5WHY0FhNOxnSPcLslEL4G4\/RfP95ve99U+kRnDy3X+KtzdQLY+u935ghON\/o3UE4IMv9oN6JX9RnxzL\/LRcOgnHigxStSGPKsZYtnz8RWNVT\/rOLAibqiWJadC5MYHRbekF3eg6FOGrQGkXYbsn0+a5aovnlLCbLwIqY9fcS17UX8J235iQ6cdmHNbrPeS84CMm34RA==&affiliate_id=1052423&strip_google_tagmanager=true\" loading=\"lazy\" data-with-title=\"true\" class=\"fiverr_nga_frame\" frameborder=\"0\" height=\"350\" width=\"100%\" referrerpolicy=\"no-referrer-when-downgrade\" data-mode=\"random_gigs\" onload=\" var frame = this; var script = document.createElement('script'); script.addEventListener('load', function() { window.FW_SDK.register(frame); }); script.setAttribute('src', 'https:\/\/www.fiverr.com\/gig_widgets\/sdk'); document.body.appendChild(script); \" ><\/iframe>\n<a href=\"https:\/\/1.envato.market\/c\/2840012\/950273\/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Fpdomodel-database-abstraction-and-helper-php-class%2F15832775\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>LIVE PREVIEWBUY FOR $13 More Details http:\/\/demo.digitaldreamstech.com\/PDOModel\/ Documentation http:\/\/demo.digitaldreamstech.com\/PDOModel\/documentation\/pdo\/ PDOModel &#8211; Database abstraction and helper PHP class that helps to do insert, update, delete, select&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1642,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1641","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-codes"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PDOModel - Database abstraction and helper PHP class - mailinvest.blog<\/title>\n<meta name=\"description\" content=\"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what&#039;s new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PDOModel - Database abstraction and helper PHP class - mailinvest.blog\" \/>\n<meta property=\"og:description\" content=\"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what&#039;s new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/\" \/>\n<meta property=\"og:site_name\" content=\"mailinvest.blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/freelanceracademic\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-15T14:55:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/PDOModel.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"590\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin@mailinvest.blog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin@mailinvest.blog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/15\\\/pdomodel-database-abstraction-and-helper-php-class\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/15\\\/pdomodel-database-abstraction-and-helper-php-class\\\/\"},\"author\":{\"name\":\"admin@mailinvest.blog\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#\\\/schema\\\/person\\\/012701c4c204d4e4ebd34f926cfd31a4\"},\"headline\":\"PDOModel &#8211; Database abstraction and helper PHP class\",\"datePublished\":\"2022-01-15T14:55:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/15\\\/pdomodel-database-abstraction-and-helper-php-class\\\/\"},\"wordCount\":439,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/15\\\/pdomodel-database-abstraction-and-helper-php-class\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/PDOModel.jpg\",\"articleSection\":[\"Code's\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/15\\\/pdomodel-database-abstraction-and-helper-php-class\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/15\\\/pdomodel-database-abstraction-and-helper-php-class\\\/\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/15\\\/pdomodel-database-abstraction-and-helper-php-class\\\/\",\"name\":\"PDOModel - Database abstraction and helper PHP class - mailinvest.blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/15\\\/pdomodel-database-abstraction-and-helper-php-class\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/15\\\/pdomodel-database-abstraction-and-helper-php-class\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/PDOModel.jpg\",\"datePublished\":\"2022-01-15T14:55:03+00:00\",\"description\":\"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what's new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/15\\\/pdomodel-database-abstraction-and-helper-php-class\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/15\\\/pdomodel-database-abstraction-and-helper-php-class\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/15\\\/pdomodel-database-abstraction-and-helper-php-class\\\/#primaryimage\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/PDOModel.jpg\",\"contentUrl\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/PDOModel.jpg\",\"width\":590,\"height\":300},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/15\\\/pdomodel-database-abstraction-and-helper-php-class\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mailinvest.blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PDOModel &#8211; Database abstraction and helper PHP class\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#website\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/\",\"name\":\"mailinvest.blog\",\"description\":\"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis. mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what&#039;s new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.\",\"publisher\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mailinvest.blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#organization\",\"name\":\"mailinvest\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/default.png\",\"contentUrl\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/default.png\",\"width\":1000,\"height\":1000,\"caption\":\"mailinvest\"},\"image\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/freelanceracademic\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#\\\/schema\\\/person\\\/012701c4c204d4e4ebd34f926cfd31a4\",\"name\":\"admin@mailinvest.blog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g\",\"caption\":\"admin@mailinvest.blog\"},\"sameAs\":[\"https:\\\/\\\/mailinvest.blog\",\"admin@mailinvest.blog\"],\"url\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/author\\\/adminmailinvest-blog\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PDOModel - Database abstraction and helper PHP class - mailinvest.blog","description":"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what's new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/","og_locale":"en_US","og_type":"article","og_title":"PDOModel - Database abstraction and helper PHP class - mailinvest.blog","og_description":"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what's new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.","og_url":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/","og_site_name":"mailinvest.blog","article_publisher":"https:\/\/www.facebook.com\/freelanceracademic\/","article_published_time":"2022-01-15T14:55:03+00:00","og_image":[{"width":590,"height":300,"url":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/PDOModel.jpg","type":"image\/jpeg"}],"author":"admin@mailinvest.blog","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin@mailinvest.blog","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/#article","isPartOf":{"@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/"},"author":{"name":"admin@mailinvest.blog","@id":"https:\/\/mailinvest.blog\/#\/schema\/person\/012701c4c204d4e4ebd34f926cfd31a4"},"headline":"PDOModel &#8211; Database abstraction and helper PHP class","datePublished":"2022-01-15T14:55:03+00:00","mainEntityOfPage":{"@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/"},"wordCount":439,"commentCount":0,"publisher":{"@id":"https:\/\/mailinvest.blog\/#organization"},"image":{"@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/#primaryimage"},"thumbnailUrl":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/PDOModel.jpg","articleSection":["Code's"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/","url":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/","name":"PDOModel - Database abstraction and helper PHP class - mailinvest.blog","isPartOf":{"@id":"https:\/\/mailinvest.blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/#primaryimage"},"image":{"@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/#primaryimage"},"thumbnailUrl":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/PDOModel.jpg","datePublished":"2022-01-15T14:55:03+00:00","description":"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what's new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.","breadcrumb":{"@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/#primaryimage","url":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/PDOModel.jpg","contentUrl":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/PDOModel.jpg","width":590,"height":300},{"@type":"BreadcrumbList","@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/15\/pdomodel-database-abstraction-and-helper-php-class\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mailinvest.blog\/"},{"@type":"ListItem","position":2,"name":"PDOModel &#8211; Database abstraction and helper PHP class"}]},{"@type":"WebSite","@id":"https:\/\/mailinvest.blog\/#website","url":"https:\/\/mailinvest.blog\/","name":"mailinvest.blog","description":"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis. mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what&#039;s new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.","publisher":{"@id":"https:\/\/mailinvest.blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mailinvest.blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/mailinvest.blog\/#organization","name":"mailinvest","url":"https:\/\/mailinvest.blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mailinvest.blog\/#\/schema\/logo\/image\/","url":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/default.png","contentUrl":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/default.png","width":1000,"height":1000,"caption":"mailinvest"},"image":{"@id":"https:\/\/mailinvest.blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/freelanceracademic\/"]},{"@type":"Person","@id":"https:\/\/mailinvest.blog\/#\/schema\/person\/012701c4c204d4e4ebd34f926cfd31a4","name":"admin@mailinvest.blog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g","caption":"admin@mailinvest.blog"},"sameAs":["https:\/\/mailinvest.blog","admin@mailinvest.blog"],"url":"https:\/\/mailinvest.blog\/index.php\/author\/adminmailinvest-blog\/"}]}},"_links":{"self":[{"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/posts\/1641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/comments?post=1641"}],"version-history":[{"count":0,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/posts\/1641\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/media\/1642"}],"wp:attachment":[{"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/media?parent=1641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/categories?post=1641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/tags?post=1641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}