用的是诺顿的开源库,参考url来自这里

 

下载

git clone git@github.com:/norton/lets.git

 

编译

cd lets
./rebar get-deps
./rebar compile
cd ebin
erl -pa ../deps/*/ebin

 

测试

application:start(sasl).
application:start(lets).

OptsDB = [{path, "mytable"}, create_if_missing],
lets:new(mytable, [named_table, compressed, {db, OptsDB}]).
lets:insert(mytable, {"hi", "hello"}).
lets:insert(mytable, {"bye", "goodbye"}).
lets:lookup(mytable, "hi").

 

相关文章:

  • 2022-12-23
  • 2021-09-20
  • 2022-12-23
  • 2022-01-15
  • 2022-02-08
  • 2022-12-23
  • 2018-01-11
  • 2021-09-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-31
  • 2022-12-23
  • 2021-10-17
相关资源
相似解决方案