Download the PHP package imiphp/imi-tdengine without Composer
On this page you can find all versions of the php package imiphp/imi-tdengine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package imi-tdengine
imi-tdengine
介绍
封装 tdengine 连接池,支持在 imi 框架中使用。
本组件支持 RESTful 和扩展两种方式实现。
扩展安装请移步:https://github.com/Yurunsoft/php-tdengine
使用
引入本组件:composer require imiphp/imi-tdengine
配置
项目配置文件:(config/config.php)
模型
使用参考:https://github.com/Yurunsoft/tdengine-orm
连接操作
直接操作连接对象,执行 SQL 语句
获取连接对象
扩展用法
查询:
参数绑定:
字段类型:
参数名称 | 说明 |
---|---|
TDengine\TSDB_DATA_TYPE_NULL |
null |
TDengine\TSDB_DATA_TYPE_BOOL |
bool |
TDengine\TSDB_DATA_TYPE_TINYINT |
tinyint |
TDengine\TSDB_DATA_TYPE_SMALLINT |
smallint |
TDengine\TSDB_DATA_TYPE_INT |
int |
TDengine\TSDB_DATA_TYPE_BIGINT |
bigint |
TDengine\TSDB_DATA_TYPE_FLOAT |
float |
TDengine\TSDB_DATA_TYPE_DOUBLE |
double |
TDengine\TSDB_DATA_TYPE_BINARY |
binary |
TDengine\TSDB_DATA_TYPE_TIMESTAMP |
timestamp |
TDengine\TSDB_DATA_TYPE_NCHAR |
nchar |
TDengine\TSDB_DATA_TYPE_UTINYINT |
utinyint |
TDengine\TSDB_DATA_TYPE_USMALLINT |
usmallint |
TDengine\TSDB_DATA_TYPE_UINT |
uint |
TDengine\TSDB_DATA_TYPE_UBIGINT |
ubigint |
restful 用法
版权信息
imi 遵循 木兰宽松许可证(Mulan PSL v2) 开源协议发布,并提供免费使用。
捐赠
开源不求盈利,多少都是心意,生活不易,随缘随缘……
All versions of imi-tdengine with dependencies
PHP Build Version
Package Version
Requires
yurunsoft/tdengine-orm Version
^1.0
The package imiphp/imi-tdengine contains the following files
Loading the files please wait ....