REBOL Storage Manager
RebSM is a small but highly efficient storage manager with a SQL-like interface.
- Works out of the box
do %rebsm.rto your script and you are ready to go. No marathon installation / configuration / tuning sessions required!
- Native REBOL storage
Your data is stored and accessed as REBOL values which means that you have the full range of REBOL data-types at your fingertips!
- Plays well
The 10 functions that drive the database behave like any other REBOL function, accepting and returning REBOL values as you would expect.
- Lean and mean
The entire script weighs in at about 20Kb of highly optimized and tuned R2 / R3 syntax. It can blaze through millions of rows a second!
This revision of RebSM now works with both R2 and R3.
From a REBOL console:
do http://www.dobeash.com/RebSM/rebsm.r help db- test: db-load http://www.dobeash.com/RebSM/test.bin help test db-select test   db-select test  [all [c1 = 1 odd? c2]]
Changes since 3.0.3
The following changes were made in 3.0.4:
- Support added for both R2 and R3
- SQL function removed
object!datatype no longer supported
db-makenow defaults to single byte field length indicators
This last change means that the maximum
series! length supported is 255 bytes.
Read the Design document if you want an understanding of why RebSM is the way it is. If you want to understand the nuts and bolts behind the code then read the Internals document. If you just want to jump straight in and use it then read the Operation document.