Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

PHP FoundationDB Drive

NotificationsYou must be signed in to change notification settings

viest/PHP-FoundationDB

Repository files navigation

Build Status

FoundationDB is a distributed database designed to handle large volumes of structured data across clusters of commodity servers. It organizes data as an ordered key-value store and employs ACID transactions for all operations. It is especially well-suited for read/write workloads but also has excellent performance for write-intensive workloads.

Open Database

$foundationClient =new \Foundation\Client();$database =$foundationClient    ->connection('/usr/local/etc/foundationdb/fdb.cluster')    ->database('DB');

Insert

Grammar

boolset(string$key, string$value);

Example

$database->set('viest',json_encode(['name' =>'JiexinWang','age' =>22]));

Find

Grammar

stringget(string$key);

Example

$user =$database->get('viest');

Delete

Grammar

boolclear(string$key);

Example

$database->clear('viest')

Range

Grammar

arrayrange(int$startIndex, int$endIndex);

Example

$rangeArray =$database->range(0,2);

About

PHP FoundationDB Drive

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp