# CuteDB **Repository Path**: mirrors/CuteDB ## Basic Information - **Project Name**: CuteDB - **Description**: CuteDB 是一个由原生PHP实现的文件数据库,CuteDB只有一个文件,如果你不想使用庞大的数据库系统,而且只需要单机功能,那么CuteDB就是你最佳的选择 - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: https://www.oschina.net/p/cutedb - **GVP Project**: No ## Statistics - **Stars**: 8 - **Forks**: 2 - **Created**: 2018-07-20 - **Last Updated**: 2023-09-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CuteDB A single PHP file. Tiny DB implements in PHP using HashTable algorithm. Example: ======== ```php open('test'); // Open DB $db->set('test_key', 'test_value'); // Set key value map echo $db->get('test_key'); // Get key's value $db->moveHead(); while (true) { $next = $db->next(); echo $next[0].":".$next[1]; } $db->close(); // Close DB ``` Principle ========= ![avatar](https://raw.githubusercontent.com/liexusong/CuteDB/master/CuteDB.jpg)