You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATE CLASS User extends OUser
CREATE PROPERTY User.id STRING
CREATE INDEX User.id UNIQUE
insert into User set name = 'visitor', status = 'ACTIVE', password = 'visitor', roles = [#4:3]
select from User
----+-----+-------+------+--------+-----
# |@RID |name |status|password|roles
----+-----+-------+------+--------+-----
0 |#15:0|visitor|ACTIVE|visitor |[1]
----+-----+-------+------+--------+-----
select from index:User.id
0 item(s) found. Query executed in 0.001 sec(s).
The property id is empty, and no index was created, is this a bug ? I am trying to get an automatic generated Unique "id" associated with User.
The text was updated successfully, but these errors were encountered:
The property id is empty, and no index was created, is this a bug ? I am trying to get an automatic generated Unique "id" associated with User.
The text was updated successfully, but these errors were encountered: