Changeset 33163 in project


Ignore:
Timestamp:
02/06/16 16:54:26 (4 years ago)
Author:
Caolan McMahon
Message:

Update for v3.0.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/sublevel

    r31646 r33163  
    11== sublevel
     2
    23[[toc:]]
     4
     5=== Description
     6
    37Provides easy namespacing of keys inside a single LevelDB database. This is
    48an implementation of the [[https://github.com/caolan/chicken-level|level]]
    59API.
    610
     11=== Example use
    712
    8 === Example use
    9 <enscript highlight="scheme">   
    10 (use level leveldb sublevel lazy-seq)
     13<enscript highlight="scheme">(use level leveldb sublevel lazy-seq)
    1114
    1215(define db (open-db "./my-database"))
     
    2528=== API
    2629
    27 ==== sublevel
    28 <enscript highlight="scheme">   
    29 (sublevel db prefix)
    30 </enscript>
     30<procedure>(sublevel db prefix)</procedure>
    3131
    3232Wraps a level implementation with namespaced access. Keys are generated by
    3333joining name space strings with the {{null}} character.
    3434
    35 ==== expand-sublevels
    36 
    37 <enscript highlight="scheme">
    38 (expand-sublevels root db ops)
    39 </enscript>
     35<procedure>(expand-sublevels root db ops)</procedure>
    4036
    4137Takes a list of operations (as you would pass to the db-batch procedure)
     
    6258</enscript>
    6359
     60=== Source code / issues
     61
     62[[https://github.com/caolan/chicken-sublevel]]
     63
    6464=== Changelog
     65
     66==== 3.0.0
     67
     68* update to latest level egg api (v2.0.0)
    6569
    6670==== 2.0.0
Note: See TracChangeset for help on using the changeset viewer.