Begin
V2EX  ›  Node.js

nodejs 扫描 access 数据库有啥好的解决方案么?

  •  
  •   Begin · Apr 20, 2018 · 4730 views
    This topic created in 2951 days ago, the information mentioned may be changed or developed.

    项目背景是:某设备工作状态下会实时在 access 数据库中写入数据,我们的业务系统需要定时去扫描数据库取回数据。 问题是:如何能记录下上次扫描的位置?nodejs 连接 access 数据库有什么好办法?

    1 replies    2018-06-04 13:50:19 +08:00
    e8c47a0d
        1
    e8c47a0d  
       Jun 4, 2018
    在写入数据的时候自己记录指针(比如时间戳、id 等)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5272 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 07:37 · PVG 15:37 · LAX 00:37 · JFK 03:37
    ♥ Do have faith in what you're doing.