logo
  • 教程列表
  • SO官方文檔
  • 開始使用 Node
    • 從 NPM 安裝 RethinkDB 軟體包
    • 建立與 RethinkDB 的連線
    • 列出所有資料庫
    • 建立一個新資料庫
    • 在資料庫上建立一個新表
    • 將文件插入表中
    • 從表中查詢文件
  1. StackOverflow 文件
  2. rethinkdb 教程
  3. 開始使用 Node
  4. 在資料庫上建立一個新表

在資料庫上建立一個新表

Created: November-22, 2018

r.connect({host: 'localhost', port: 28015})
.then((conn) => {
    return r.db("stackoverflow").tableCreate("examples").run(conn);
}).then((result) => {
    console.log(result);
});
  • 將文件插入表中
  • 建立一個新資料庫

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明