承接 lum/lum-db-pdo 相关项目开发

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

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

lum/lum-db-pdo

最新稳定版本:v1.0.1

Composer 安装命令:

composer require lum/lum-db-pdo

包简介

Libraries for working with PDO/SQL

README 文档

README

Summary

Extension to lum-db for working with PDO/SQL databases.

Namespace

Lum\DB\PDO

Classes and traits

Class Description
InsertArray A simplistic INSERT statement builder.
Item A class representing an Item in an ORM model.
Model An abstract class representing an ORM model.
Query An SQL Query builder class.
Reference A small class representing a DB reference.
ResultArray A result class that acts like an array.
ResultBag A quirky extension of ResultArray.
ResultSet A lazy loading result class. A good default.
Simple A simple PDO wrapper library.
WhereArray A simplistic WHERE statement builder.
Schemata\Tables A class representing a full set of table schemas.
Schemata\* A bunch of internal classes.
Simple\Alter A trait with ALTER TABLE methods.
Simple\NativeDB A trait for running engine-specific SQL files.

The Lum\DB\PDO\Schemata\* classes currently use their own custom JSON-based format for the schema definition files. They are limited to working with Lum\DB\PDO\Simple classes with the Lum\DB\PDO\Simple\NativeDB trait. They will likely be replaced by something better in the future.

Official URLs

This library can be found in two places:

Authors

  • Timothy Totten

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-16