SkillAgentSearch skills...

Xiaoshuo

小说

Install / Use

/learn @xiadd/Xiaoshuo
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

数据库该如何设计

  1. 怎么存储小说类型

单独存储在一个col中

  1. 怎么存储小说(包括章节目录)

小说名,作者,更新日期等,存在一个document中

  1. 怎么存储章节内容

单独存储

  1. 需要将章节内容进行存储吗
  • 不存储 节省数据库,单个文档可能超过16m,省钱

  • 存储 如何关联

  1. 如何判断小说是否更新
  • 存储在localStorage里与最新的newChapter进行对比

  • 存在用户的收藏里。也就是用户信息里

  1. 如何存储书单
  • 单独建表

  • 放到数据库里

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated6y ago
Forks1

Languages

JavaScript

Security Score

50/100

Audited on Jul 15, 2019

No findings