GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update of List entries raises error · Issue #936 · ArcadeData/arcadedb

Update of List entries raises error #936

New issue
Copy link
New issue
Copy link
Closed
Closed
Update of List entries raises error#936
Copy link
Assignees
lvca
Labels
documentationImprovements or additions to documentation
Milestone
23.3.1

Description

@topofocus
topofocus
opened on Mar 14, 2023
Issue body actions

ArcadeDB Version: 23.2.1

Expected behavior

A Hash or embedded document can be added to a list via

update #0:0 set liste = liste + { json }

Actual behavior

it raises an error

Steps to reproduce

create document type dat_document
CREATE PROPERTY dat_document.date DATE
CREATE PROPERTY dat_document.name STRING
CREATE PROPERTY dat_document.age INTEGER
CREATE INDEX ON dat_document (date) UNIQUE

create document type test_document
CREATE PROPERTY test_document.name STRING
CREATE PROPERTY test_document.age INTEGER
CREATE PROPERTY test_document.d MAP
CREATE PROPERTY test_document.emb EMBEDDED
CREATE PROPERTY test_document.many LIST
CREATE INDEX ON test_document (name, age) UNIQUE

INSERT INTO test_document CONTENT {"date":"2019-05-16","name":"hugi","age":97}
INSERT INTO dat_document CONTENT {"date":"2023-03-14","name":"Hugi","age":85}
INSERT INTO test_document CONTENT {"date":"1989-04-02","name":"Tussi","age":25,"emb":{"date":"2022-04-05","name":"berta","age":25,"@type":"dat_document"},"many":[{"date":"2022-04-05","name":"berta","age":25,"@type":"dat_document"}]}

update #18:0 set many = many + {"date":"2022-05-02","name":"Herta","age":84,"@type":"dat_document"}

ErrorMessage: Encountered " "+" "+ "" at line 1, column 32. Was expecting one of: ... ... ... ... ... ... ... ... ... ... ... ... ";" ... "," ... "," ... ... ... ... ... ... ... ... ... ... ... ... ... ...

Activity

  1. topofocus commented on Mar 14, 2023

    @topofocus
    topofocus
    on Mar 14, 2023
    Author
    More actions

    However,

    update #18:0 set  many += {"date":"2022-06-15","name":"Herta","age":23,"@type":"dat_document"}
    

    works.

    This seems to be a matter for the documentation!

  2. topofocus
    closed this as completedon Mar 14, 2023
  3. lvca commented on Mar 14, 2023

    @lvca
    lvca
    on Mar 14, 2023
    Member
    More actions

    @topofocus did you find the earlier syntax in the documentation? Please let me know so I can fix it. Thanks.

  4. lvca
    self-assigned this
    on Mar 14, 2023
  5. lvca
    added
    documentationImprovements or additions to documentation
    on Mar 14, 2023
  6. lvca
    added this to the 23.3.1 milestone on Mar 14, 2023
  7. mergify
    added a commit that references this issue on Apr 6, 2026

    chore(deps): bump the github-actions group with 2 updates [skip ci]

    04e7bbc
  8. tae898
    added a commit that references this issue on Jun 28, 2026

    chore(deps): bump the github-actions group with 2 updates [skip ci]

    c040762
  9. mergify
    added a commit that references this issue on Jul 19, 2026

    chore(deps-dev): bump org.apache.maven.plugins:maven-enforcer-plugin …

    4e63abe
  10. mergify
    added a commit that references this issue on Jul 26, 2026

    build(deps-dev): bump org.apache.maven.plugins:maven-enforcer-plugin …

    ffbd683
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

    Milestone

    • 23.3.1

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.