我正在使用 OrientDb java document api 来查询数据库。我的示例代码是
OrientDB orientDB = new OrientDB("remote:localhost",OrientDBConfig.defaultConfig());
ODatabaseDocument dbConnection = orientDB.open("configurationDatabase","root", "root");
List<ODocument> date = dbConnection.command(new OCommandSQL("select date from Trial")).execute();
在此 dbconnection.command() 函数显示为已弃用,即使 orientdb 文档包含此。我正在使用 orientdb 3.0.28