OrientDB reports an error when optimizing the database

1. OrientDB reports an error when optimizing the database


Error when converting regular edges to lightweight edges :

orientdb {db=demo}> optimize database -lwedges

Database optimized in

Error: java.util.IllegalFormatConversionException: f != java.util.ArrayList

 

OrientDB insert records
Let us consider the Customer table with the following fields and types.

Numbering

Field Name

Types of

1

ID

Integer

2

name

string

3

age

Integer

You can create a schema (table) by executing the following command.

CREATE DATABASE PLOCAL:/opt/orientdb/databases/sales 
CREATE CLASS Customer 
CREATE PROPERTY Customer.id integer 
CREATE PROPERTY Customer.name String 
CREATE PROPERTY Customer.age integer

Where PROPERTY is the meaning of property

LET: Represents the context variable used in projection, condition or subquery

 

Guess you like

Origin blog.csdn.net/weixin_47055922/article/details/108578007