WEB--NeDB

1.定义

NeDB is a lightweight document DBMS written in JavaScript.

全称:Node.js Embedded Database

can be used both as embedded嵌入式(保存) and in-memory 内存式(不保存)

It is a lightweight NoSQL database.

No-SQL以json格式储存

2.Typical Operations on Stored Data: CRUD

Create--insert,Read--find,Update--update,Delete--remove

1.Create

db.insert({文档},回调函数)

2.Read

db.find({查询条件,回调函数});

3.Delete

db.remove({键值对},{},回调函数);

4.Update

db.update(query, update, options, callback);

3.Data Storage Options

Flat files,Database,Cloud Persistence

4.NoSQL Databases

Also called non-relational databases are database that don’t rely on the “relation” as the underlying data model.

They don’t use SQL as the language for interaction with the database.

Instead the data is held in 'documents’, sometime with no fixed schema.

The document format is based on key:value pairs.

Native value types are string, number, date, Boolean, null; but values can also be arrays and objects.

非关系数据库是不依赖于“关系”作为底层数据模型的数据库,不使用SQL作为与数据库交互的语言。数据保存在“文档”中,有时没有固定的模式。
文档格式基于键值对
原生值类型是字符串,数字,日期,布尔值,null;但是值也可以是数组和对象。

  • 8
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

*张小杨*

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值