websightnl/yii2-sybase
Composer 安装命令:
composer require websightnl/yii2-sybase
包简介
Yii2 schema support for Sybase database, tested with SQL Anywhere 12.0.
关键字:
README 文档
README
This library adds Sybase schema support to yii2. This allows you to create ActiveRecord models of tables; manually or by using Gii.
Compatibility
It has been tested on SAP SQL Anywhere 12.0 over an ODBC link.
Usage
Add the following lines to your database configuration (for example config/db.php):
<?php return [ 'class' => 'yii\db\Connection', ***'driverName' => 'sybase', 'schemaMap' => [ 'sybase' => \websightnl\yii2\sybase\Schema::className(), ],*** 'dsn' => 'odbc:mydsn', ]
统计信息
- 总下载量: 831
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause-Attribution
- 更新时间: 2016-07-01