rstoetter/csql-php

管理 SQL 语句的类

v1.0.6 2018-05-31 09:05 UTC

This package is not auto-updated.

Last update: 2024-09-29 03:31:14 UTC


README

cSQL 类是用 PHP 编写的,有助于管理 SQL 语句组件。

命名空间为 rstoetter\cSql

cSQL 类提供的静态方法

cSQL::AddFunction()
cSQL::CheckedFieldName()
cSQL::CombineFieldName()
cSQL::DotCount()
cSQL::FieldNameIn()
cSQL::FormatStatement()
cSQL::GetAliasFromTablename()
cSQL::GetAliasOrRealFieldname()
cSQL::GetRealFieldname()
cSQL::HasAlias()
cSQL::IsEscaped()
cSQL::IsExtraStartIdentifier()
cSQL::IsFunctionSQL()
cSQL::IsJoin()
cSQL::IsQualified()
cSQL::IsSqlZeroDate()
cSQL::IsSqlZeroDateTime()
cSQL::IsSqlZeroTime()
cSQL::IsSubquerySQL()
cSQL::IsSubqueryStatement()
cSQL::IsValidFieldName()
cSQL::PositionEndFunctionSQL()
cSQL::RemoveAlias()
cSQL::RemoveAll()
cSQL::RemoveEscapes()
cSQL::RemoveFunctions()
cSQL::RemoveQualification()
cSQL::SchemaNameIn()
cSQL::SetExtraIdentifier()
cSQL::SetExtraStartIdentifier()
cSQL::SplitQualifiedFieldname()
cSQL::SqlDate2DateTime()
cSQL::SqlDateTime2DateTime()
cSQL::SqlTime2DateTime()
cSQL::TableNameIn()

安装

此项目假设您已安装 composer。只需将其添加到您的 composer.json 中,然后您可以使用以下命令进行安装:

"require" : {

    "rstoetter/csql-php" : ">=1.0.0"

}

composer install

更多信息

有关更多信息,请参阅项目维基