3asy.db 中文文档教程

发布于 6年前 浏览 31 项目主页 更新于 3年前

Easy.DB - Easy Database

Easy.db 是 LevelDB 的基于 Promise 的简单包装器。
该模块提供了一种使用 LevelDB 的简单方法
避免所有回调。

Documentation

Installation

  • Simply run npm install 3asy.db on your Terminal

What's new on Version 0.2.0?

  • Function#has has now been fully removed! Hooray! If we only had a button… Press F to pay for respects
  • The feature revive has been finally added! This makes it so that when you delete a key, it saves it's value to the key recycling_bin, which can't be deleted or edited. But can be fetched!
  • Fixed examples!

FAQ ( Frequently Asked Questions )

问:什么是 Easy.DB?
A:Easy.db 是 LevelDB 的基于 Promise 的简单包装器。 该模块提供了一种使用 LevelDB 避免所有回调的简单方法。

问:为什么叫3asy.db?
A:由于 npm 的愚蠢更新,有一个名为 easydb 的包阻止我们制作 easy.db

问:是否支持多进程?
A:对不起,没有。 LevelDB 不支持多进程或分片。 但是我们很快就会制作另一个模块,希望它能支持多进程。

问:你为什么要做这个?
A:起初,它是为了我正在做的一个项目,我想我也应该为它做一个单独的模块。 就在这里。

问:有什么用?
A:它可以用于您能想到的使用数据库的任何 NODEJS 项目。

Easy.DB - Easy Database

Easy.db is a Simple Promise-Based wrapper for LevelDB.
This module provides an easy way to use LevelDB
avoiding all callbacks.

Documentation

Installation

  • Simply run npm install 3asy.db on your Terminal

What's new on Version 0.2.0?

  • Function#has has now been fully removed! Hooray! If we only had a button… Press F to pay for respects
  • The feature revive has been finally added! This makes it so that when you delete a key, it saves it's value to the key recycling_bin, which can't be deleted or edited. But can be fetched!
  • Fixed examples!

FAQ ( Frequently Asked Questions )

Q: What is Easy.DB?
A: Easy.db is a Simple Promise-Based wrapper for LevelDB. This module provides an easy way to use LevelDB avoiding all callbacks.

Q: Why is the name 3asy.db?
A: There is a package called easydb which prevents us from making easy.db due to npm's Stupid Update

Q: Does this support Multiple-Processes?
A: I'm sorry but no. LevelDB doesn't support Multiple Processes or Sharding. But we will make another Module soon that will hopefully support Multiple Processes.

Q: Why did you make this?
A: At first, it was for a Project that i'm making, and i thought i should also make a seperate Module for it. And here it is.

Q: What is it used for?
A: It can be used for any NODEJS Project you can think of that uses Databases.

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文