{"repo":"auraphp/Aura.Sql","free":true,"listed":false,"github":"https://github.com/auraphp/Aura.Sql","clone":"git clone https://github.com/auraphp/Aura.Sql.git","description":"SQL database access through PDO.","language":"PHP","stars":566,"topics":["aura","database","profiler","php","pdo-instance"],"license":"MIT","category":"databases-storage","readme_excerpt":"Aura.Sql Provides an extension to the native PDO along with a profiler and connection locator. Because ExtendedPdo is an extension of the native PDO , code already using the native PDO or typehinted to the native PDO can use ExtendedPdo without any changes. Added functionality in Aura.Sql over the native PDO includes: - Lazy connection. ExtendedPdo connects to the database only on method calls that require a connection. This means you can create an instance and not incur the cost of a connection if you never make a query. - Decoration. DecoratedPdo can be used to decorate an existing PDO instance. This means that a PDO instance can be \"extended\" at runtime to provide the ExtendedPdo behaviors. - Array quoting. The quote() method will accept an array as input, and return a string of comma-separated quoted values. - New perform() method. The perform() method acts just like query() , but binds values to a prepared statement as part of the call. In addition, placeholders that represent array values will be replaced with comma- separated quoted values. This means you can bind an array of values to a placeholder used with an IN (...) condition when using perform() . - New fetch () methods. The new fetch () methods provide for commonly-used fetch actions. For example, you can call fetchAll() directly on the instance instead of having to prepare a statement, bind values, execute, and then fetch from the prepared statement. All of the fetch () methods take an array of values to bind t","default_branch":null,"files":null,"tree":[],"storefront":"/r/auraphp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/auraphp/Aura.Sql/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}