【使用的操作系统】
Linux- CentOS 7.9
【 SequoiaDB 版本】
SequoiaDB V5.0.1
【问题说明】
使用方法:createDataSource,创建数据源,报错:
1 TypeError: db.createDataSource is not a function
【操作流程】
[sdbadmin@dguard bin]$ sdb
Welcome to SequoiaDB shell!
help() for help, Ctrl+c or quit to exit
var db = new Sdb("localhost",11810)
Takes 0.008756s.
db.listDataSources()
(shell):1 TypeError: db.listDataSources is not a function
Takes 0.000658s.
db.createDataSource("datasource", "localhost:11810", "sdbadmin", "sdbadmin")
(shell):1 TypeError: db.createDataSource is not a function
Takes 0.000589s.