定制 croak-sqlite-dbmanagement/sqlite-dbmanagement 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

croak-sqlite-dbmanagement/sqlite-dbmanagement

Composer 安装命令:

composer require croak-sqlite-dbmanagement/sqlite-dbmanagement

包简介

a set of php objects and interfaces for a simple use of sqlite databases

README 文档

README

php classes to manage sqlite databases using Croak/DbManagement

This is an implementation of DbManagement (https://github.com/20centcroak/DBManagement) to be used with sqlite database. See this package for more information.

To install this package, use Composer :

composer require croak-sqlite-dbmanagement/sqlite-dbmanagement

This package is composed of a single class DbManagementSqlite and requires DbManagement

DbDbManagementSqlite implement DbManagement with the sqlite syntax and then allows quering very easily in sqlite database.

For querying with the GET verb, use the following keywords:

[fieldName]-up pour trier les données par ordre ascendant sur le champ [fieldName]
[fieldName]-down pour trier les données par ordre descendant sur le champ [fieldName]
[fieldName]-min=XXX pour sélectionner les données telles que [fieldName]>=XXX
[fieldName]-max=XXX pour sélectionner les données telles que [fieldName]<=XXX
[fieldName]=XXX pour sélectionner les données telles que [fieldName]=XXX

Let assume that the route localhost:8080/measures is defined in your app and the fields named "value" and "flag" are defined in the database table, here is an example of a GET request :

localhost:8080/measures?value-min=12&value-up&flag-down

An example of use can be found in https://github.com/20centcroak/api-iot

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-10-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固