commit | 827e282f9cde67710dd1d58c1e2380c6ab399cdf | [log] [tgz] |
---|---|---|
author | libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> | Sat Apr 14 10:08:57 2018 +0000 |
committer | libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> | Sat Apr 14 10:08:57 2018 +0000 |
tree | 6639516fcd3ccbaf4153e0fee2548565ffe77c2a | |
parent | 4968e079699d3152afcf38195500967c05583fbb [diff] |
build: Updating mediawiki/mediawiki-codesniffer to 18.0.0 Change-Id: Ic72ccd0505e49ae688f6622c42e546469a8139c6
CDB, short for "constant database", refers to a very fast and highly reliable database system which uses a simple file with key value pairs. This library wraps the CDB functionality exposed in PHP via the dba_*
functions. In cases where dba_*
functions are not present or are not compiled with CDB support, a pure-PHP implementation is provided for falling back.
Additional documentation about the library can be found on MediaWiki.org.
// Reading a CDB file $cdb = \Cdb\Reader::open( 'db.cdb' ); $foo = $cdb->get( 'somekey' ); // Writing to a CDB file $cdb = \Cdb\Writer::open( 'anotherdb.cdb' ); $cdb->set( 'somekey', $foo );
composer install --prefer-dist composer test
This library was first introduced in MediaWiki 1.16 (r52203). It was split out of the MediaWiki codebase and published as an independent library during the MediaWiki 1.25 development cycle.