Thanks Scott! I don't believe it's inheriting from anything (unless there's 
a default). I'm using version 2.1.16. Here's the complete test script I'm 
using:

orientdb {server=remote:localhost/}> create database plocal:../databases/test4 
plocal document

Creating database [plocal:../databases/test4] using the storage type [plocal
]...
Database created successfully.

Current database is: plocal:../databases/test4
orientdb {db=test4}> connect plocal:../databases/test4 admin admin

Disconnecting from remote server [remote:localhost/]...
OK
Disconnecting from the database [test4]...OK
Connecting to database [plocal:../databases/test4] with user 'admin'...OK
orientdb {db=test4}> create class class1

Class created successfully. Total classes in database now: 11

orientdb {db=test4}> insert into class1 content {"name": "Matt"}

Inserted record 'class1#11:0{name:Matt} v1' in 0.003000 sec(s).

orientdb {db=test4}> insert into class1 content {"name": "John"}

Inserted record 'class1#11:1{name:John} v1' in 0.001000 sec(s).

orientdb {db=test4}> select * from class1

----+-----+------+----
#   |@RID |@CLASS|name
----+-----+------+----
0   |#11:0|class1|Matt
1   |#11:1|class1|John
----+-----+------+----

2 item(s) found. Query executed in 0.001 sec(s).
orientdb {db=test4}> update class1 content {"name": "Vicki"} upsert where 
name = "Vicki"

Updated record(s) '1' in 0.002000 sec(s).

orientdb {db=test4}> select * from class1

----+-----+------+-----+------------+------------+----------+------
#   |@RID |@CLASS|name |_allowUpdate|_allowDelete|_allowRead|_allow
----+-----+------+-----+------------+------------+----------+------
0   |#11:0|class1|Matt |null        |null        |null      |null
1   |#11:1|class1|John |null        |null        |null      |null
2   |#11:2|class1|Vicki|null        |null        |null      |null
----+-----+------+-----+------------+------------+----------+------

3 item(s) found. Query executed in 0.001 sec(s).
orientdb {db=test4}>

I may be doing something stupid here (this is my first hour with OrientDB).

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to