Zebra_Database是一個高級,緊湊(只有一個檔),羽量級,物件導向的MySQL資料庫操作封裝。 基於PHP的MySQL擴展。 它提供HTTP://www.aliyun.com/zixun/aggregation/11872.html">訪問資料庫的方法比PHP預設更加簡單和直觀。 此外,它還提供調試主控台來查看SQL的執行情況。
Zebra_Database it is an advanced, compact (one-file only), lightweight, object-oriented MySQL database wrapper built upon PHP’s MySQL extension. It provides methods for interacting with MySQL databases that are more intuitive and fun to use than PHP’s default ones.
The class provides a comprehensive debugging interface with detailed information about the executed queries: execution tim e, returned/affected rows, excerpts of the found rows, error messages, etc. It also automatically EXPLAIN‘s each SELECT query (so you don’t miss those keys again!).
It encourages developers to write maintainable code and provides a better default security layer by automatically escaping strings.
Zebra_Database version 2.3更新日誌:
·fixed a bug where the script would generate a warning if the 「update」 method was called with invalid arguments;
·changed how the insert_bulk method needs to receive arguments, making it more simple to use
下載位址:HTTP://stefangabos.ro/wp-content/uploads/php-libraries/zebra_database.2.3.zip