承接 elektro-potkan/neplus-database 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

elektro-potkan/neplus-database

Composer 安装命令:

composer require elektro-potkan/neplus-database

包简介

NePlus Database - Custom modifications on top of Nette Database

README 文档

README

Custom modifications on top of Nette Database.

Usage

// constructor is the same as of Nette\Database\Connection
$db = ElektroPotkan\NePlus\Database\ConnectionMySQL(
	'mysql:host=localhost;dbname=mydb',
	'user',
	'password'
);

// query LOCK TABLES `myTable1` READ, `myTable2` WRITE
$db->lockTables([
	'myTable1' => false,
	'myTable2' => true,
]);

// query UNLOCK TABLES
$db->unlockTables();

Nette DI

To switch all database connections registered in DI Container from Nette\Database\Connection to ElektroPotkan\NePlus\Database\ConnectionMySQL, just use the bundled DI extension:

extensions:
	- ElektroPotkan\NePlus\Bridges\Database\DI\DatabaseExtension

Author

Elektro-potkan git@elektro-potkan.cz

Info

Versioning

This project uses Semantic Versioning 2.0.0 (semver.org).

Branching

This project uses slightly modified Git-Flow Workflow and Branching Model:

License

You may use this program under the terms of either the BSD Zero Clause License or the GNU General Public License (GPL) version 3 or later.

See file LICENSE.

统计信息

  • 总下载量: 14
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: 0BSD
  • 更新时间: 2021-10-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固