首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > Database engine in PHP

Database engine in PHP

  • 资源大小:9.95 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: php database

资 源 简 介

Abstract YNDb is the high-performance database engine, written in PHP, with support of indexed fields. For a moment, it does not support SQL. Some usage examples: ``` $db = new YNDb("my_data"); $db->create("testtable", array("id" => "INT", "name" => "TINYTEXT"), array("AUTOINCREMENT" => "id") ); for($i = 0; $i < 100; $i++) { $db->insert("test_table", array("name" => "value".$i)); } $results = $db->select("test_table", array("cond" => "id > 30", "limit" => "30,50", "order" => "name ASC") ); print_r($results); ``` Purpose The database is made to be a proof-of-concept that one can write a relatively high-performance RDBMS on any language, including interpreteded ones as PHP. It is not production-ready at the moment, as contains several bugs that can break database consistency.

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP