├── .gitignore ├── .travis.yml ├── CHANGES.md ├── LICENSE ├── README.md ├── benchmark ├── logs │ ├── 7eab066b3fb5763be0978adbbb4bdef6f44e1f2b.log │ └── afe495ced438e8f7f7df3f8b2ea363bd6f673840.log └── sqlbuilder.php ├── composer.json ├── doc └── migration.md ├── ext ├── config.h ├── config.m4 ├── php_sqlbuilder.c ├── php_sqlbuilder.h ├── tests │ ├── FunctionTest.php │ └── bootstrap.php ├── xstring.c └── xstring.h ├── package.ini ├── package.xml ├── phpdox.xml ├── phprelease.ini ├── phpunit-ci.xml ├── phpunit.travis-ci.xml ├── scripts ├── release.sh └── run-xhprof ├── src ├── ANSI │ └── AggregateFunction.php ├── ArgumentArray.php ├── Bind.php ├── Criteria.php ├── DataType │ └── Unknown.php ├── Driver │ ├── BaseDriver.php │ ├── MySQLDriver.php │ ├── PDODriverFactory.php │ ├── PDOMySQLDriver.php │ ├── PDOPgSQLDriver.php │ ├── PDOSQLiteDriver.php │ ├── PgSQLDriver.php │ └── SQLiteDriver.php ├── Exception │ ├── CriticalIncompatibleUsageException.php │ ├── IncompleteSettingsException.php │ ├── UnimplementedFunctionException.php │ └── UnsupportedDriverException.php ├── Literal.php ├── MySQL │ ├── Constant │ │ └── ReferenceOption.php │ ├── Query │ │ ├── CreateUserQuery.php │ │ ├── DropUserQuery.php │ │ ├── ExplainQuery.php │ │ ├── GrantQuery.php │ │ └── SetPasswordQuery.php │ ├── Syntax │ │ ├── AlterTableAlterColumn.php │ │ ├── AlterTableDropForeignKey.php │ │ ├── AlterTableOrderBy.php │ │ ├── AlterTableSetAutoIncrement.php │ │ ├── AlterTableSetEngine.php │ │ ├── IndexHint.php │ │ ├── Partition.php │ │ └── UserSpecification.php │ ├── Traits │ │ ├── IndexHintTrait.php │ │ ├── PartitionTrait.php │ │ └── UserSpecTrait.php │ └── Types.php ├── ParamMarker.php ├── PgSQL │ ├── Traits │ │ └── ConcurrentlyTrait.php │ └── Types.php ├── Raw.php ├── SQLite │ └── Types.php ├── SyntaxExtender.php ├── Testing │ ├── PDOQueryTestCase.php │ └── QueryTestCase.php ├── ToSqlInterface.php ├── Universal │ ├── Expr │ │ ├── BetweenExpr.php │ │ ├── BinExpr.php │ │ ├── Expr.php │ │ ├── FuncCallExpr.php │ │ ├── InExpr.php │ │ ├── IsExpr.php │ │ ├── IsNotExpr.php │ │ ├── LikeExpr.php │ │ ├── ListExpr.php │ │ ├── NotInExpr.php │ │ ├── NotRegExpExpr.php │ │ ├── RawExpr.php │ │ ├── RegExpExpr.php │ │ └── UnaryExpr.php │ ├── Query │ │ ├── AlterTableQuery.php │ │ ├── CreateDatabaseQuery.php │ │ ├── CreateIndexQuery.php │ │ ├── CreateTableQuery.php │ │ ├── DeleteQuery.php │ │ ├── DropDatabaseQuery.php │ │ ├── DropIndexQuery.php │ │ ├── DropTableQuery.php │ │ ├── InsertQuery.php │ │ ├── SelectQuery.php │ │ ├── UUIDQuery.php │ │ ├── UnionQuery.php │ │ └── UpdateQuery.php │ ├── Syntax │ │ ├── AlterTableAdd.php │ │ ├── AlterTableAddColumn.php │ │ ├── AlterTableAddConstraint.php │ │ ├── AlterTableChangeColumn.php │ │ ├── AlterTableDrop.php │ │ ├── AlterTableDropColumn.php │ │ ├── AlterTableDropForeignKey.php │ │ ├── AlterTableDropIndex.php │ │ ├── AlterTableDropPrimaryKey.php │ │ ├── AlterTableModifyColumn.php │ │ ├── AlterTableRenameColumn.php │ │ ├── AlterTableRenameTable.php │ │ ├── Column.php │ │ ├── ColumnNames.php │ │ ├── Conditions.php │ │ ├── Constraint.php │ │ ├── Distinct.php │ │ ├── GroupConditions.php │ │ ├── Join.php │ │ ├── KeyReference.php │ │ ├── LeftJoin.php │ │ ├── Paging.php │ │ ├── RightJoin.php │ │ └── SelectAs.php │ ├── Traits │ │ ├── CascadeTrait.php │ │ ├── ConstraintTrait.php │ │ ├── IfExistsTrait.php │ │ ├── JoinTrait.php │ │ ├── KeyTrait.php │ │ ├── LimitTrait.php │ │ ├── OptionTrait.php │ │ ├── OrderByTrait.php │ │ ├── PagingTrait.php │ │ ├── RestrictTrait.php │ │ └── WhereTrait.php │ └── Types.php └── Utils.php ├── tests ├── ANSI │ └── AggregateFunctionTest.php ├── ArgumentArrayTest.php ├── BindTest.php ├── Driver │ └── PDODriverFactoryTest.php ├── Expr │ └── FuncCallExprTest.php ├── InflatorTest.php ├── MySQL │ ├── Constant │ │ └── ReferenceOptionTest.php │ ├── Query │ │ ├── CreateUserQueryTest.php │ │ ├── DropUserQueryTest.php │ │ ├── GrantQueryTest.php │ │ └── SetPasswordQueryTest.php │ └── Syntax │ │ ├── IndexHintTest.php │ │ └── UserSpecificationTest.php ├── Universal │ ├── Expr │ │ ├── BetweenExprTest.php │ │ ├── BinExprTest.php │ │ ├── IsExprTest.php │ │ └── ListExprTest.php │ ├── Query │ │ ├── AlterTableQueryTest.php │ │ ├── CreateDatabaseQueryTest.php │ │ ├── CreateIndexQueryTest.php │ │ ├── DeleteQueryTest.php │ │ ├── DropDatabaseQueryTest.php │ │ ├── DropIndexQueryTest.php │ │ ├── DropTableQueryTest.php │ │ ├── InsertQueryTest.php │ │ ├── MySQLCreateTableQueryTest.php │ │ ├── SelectQueryTest.php │ │ ├── UnionQueryTest.php │ │ └── UpdateQueryTest.php │ └── Syntax │ │ ├── ConditionsTest.php │ │ ├── DistinctTest.php │ │ ├── PagingTest.php │ │ └── SelectAsTest.php └── schema │ ├── member_mysql.sql │ └── member_sqlite.sql ├── todo.md ├── xhprof_html ├── callgraph.php ├── css │ └── xhprof.css ├── docs │ ├── index-fr.html │ ├── index.html │ ├── sample-callgraph-image.jpg │ ├── sample-diff-report-flat-view.jpg │ ├── sample-diff-report-parent-child-view.jpg │ ├── sample-flat-view.jpg │ └── sample-parent-child-view.jpg ├── index.php ├── jquery │ ├── indicator.gif │ ├── jquery-1.2.6.js │ ├── jquery.autocomplete.css │ ├── jquery.autocomplete.js │ ├── jquery.tooltip.css │ └── jquery.tooltip.js ├── js │ └── xhprof_report.js └── typeahead.php └── xhprof_lib ├── display ├── typeahead_common.php └── xhprof.php └── utils ├── callgraph_utils.php ├── xhprof_lib.php └── xhprof_runs.php /.gitignore: -------------------------------------------------------------------------------- 1 | vendor 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/CHANGES.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/README.md -------------------------------------------------------------------------------- /benchmark/logs/7eab066b3fb5763be0978adbbb4bdef6f44e1f2b.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/benchmark/logs/7eab066b3fb5763be0978adbbb4bdef6f44e1f2b.log -------------------------------------------------------------------------------- /benchmark/logs/afe495ced438e8f7f7df3f8b2ea363bd6f673840.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/benchmark/logs/afe495ced438e8f7f7df3f8b2ea363bd6f673840.log -------------------------------------------------------------------------------- /benchmark/sqlbuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/benchmark/sqlbuilder.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/composer.json -------------------------------------------------------------------------------- /doc/migration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/doc/migration.md -------------------------------------------------------------------------------- /ext/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/ext/config.h -------------------------------------------------------------------------------- /ext/config.m4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/ext/config.m4 -------------------------------------------------------------------------------- /ext/php_sqlbuilder.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/ext/php_sqlbuilder.c -------------------------------------------------------------------------------- /ext/php_sqlbuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/ext/php_sqlbuilder.h -------------------------------------------------------------------------------- /ext/tests/FunctionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/ext/tests/FunctionTest.php -------------------------------------------------------------------------------- /ext/tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/ext/tests/bootstrap.php -------------------------------------------------------------------------------- /ext/xstring.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/ext/xstring.c -------------------------------------------------------------------------------- /ext/xstring.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/ext/xstring.h -------------------------------------------------------------------------------- /package.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/package.ini -------------------------------------------------------------------------------- /package.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/package.xml -------------------------------------------------------------------------------- /phpdox.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/phpdox.xml -------------------------------------------------------------------------------- /phprelease.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/phprelease.ini -------------------------------------------------------------------------------- /phpunit-ci.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/phpunit-ci.xml -------------------------------------------------------------------------------- /phpunit.travis-ci.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/phpunit.travis-ci.xml -------------------------------------------------------------------------------- /scripts/release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/scripts/release.sh -------------------------------------------------------------------------------- /scripts/run-xhprof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/scripts/run-xhprof -------------------------------------------------------------------------------- /src/ANSI/AggregateFunction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/src/ANSI/AggregateFunction.php -------------------------------------------------------------------------------- /src/ArgumentArray.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/src/ArgumentArray.php -------------------------------------------------------------------------------- /src/Bind.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/src/Bind.php -------------------------------------------------------------------------------- /src/Criteria.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c9s/SQLBuilder/HEAD/src/Criteria.php -------------------------------------------------------------------------------- /src/DataType/Unknown.php: -------------------------------------------------------------------------------- 1 |