承接 rollingwolf/queryable-php 相关项目开发

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

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

rollingwolf/queryable-php

Composer 安装命令:

composer require rollingwolf/queryable-php

包简介

QueryablePHP is a PHP port of the node lib Queryable

README 文档

README

PHP port of Queryable

This is a PHP port of QUeryable a tiny NoSQL-like database that allows structured querying of an array of objects. It stores as a JSON string.

Examples

$config = array(
    'dbDir' => realpath('.'),
    'dbName' => 'test.db'
);
$DB = \rollingWolf\QueryablePHP\QueryablePHP::open($config);
$DB->insert('[{president:"George Washington",took_office:1789},{president:"John Adams",took_office:1797},{president:"Thomas Jefferson",took_office:1801},{president:"James Madison",took_office:1809}]');
$DB->find('{president:"/^T/i"}');
$DB->save();

The script allows slack JSON (PHP vs javascript style) and therefore doesnt require "" around president.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-10