diff --git a/README.md b/README.md index 91ea752..8990209 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,9 @@ ## 通过 `Composer` 安装 ``` -composer require tenglin/sqlite3-database-class +composer require jaroslawzielinski/sqlite3-database-class ``` +in [packagist](https://packagist.org/packages/jaroslawzielinski/sqlite3-database-class) ## 函数说明 ``` diff --git a/sqlite3db.php b/SQLite3DB.php similarity index 98% rename from sqlite3db.php rename to SQLite3DB.php index dcb1b2c..966839c 100644 --- a/sqlite3db.php +++ b/SQLite3DB.php @@ -208,6 +208,9 @@ protected function _where() { case "exists": $build .= $operator . " (" . $val . ")"; break; + case "like": + $build .= $operator . " " . $val; + break; default: $build .= $operator . " '" . $val . "'"; } diff --git a/composer.json b/composer.json index 9d0d860..d7cb203 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "tenglin/sqlite3-database-class", + "name": "jaroslawzielinski/sqlite3-database-class", "description": "Wrapper for a PHP sqlite3 class, which utilizes sqlite3 and prepared statements.", "keywords": ["php", "sqlite3", "database"], "authors": [