Title: Is it possible to change type of record? · Issue #934 · ArcadeData/arcadedb · GitHub
Open Graph Title: Is it possible to change type of record? · Issue #934 · ArcadeData/arcadedb
X Title: Is it possible to change type of record? · Issue #934 · ArcadeData/arcadedb
Description: Is it possible to change the record type (with completion of mandatory fields)? For example, when importing data, I can have information about the user's login. I will create a record for him and link it with other data. Subsequently, in...
Open Graph Description: Is it possible to change the record type (with completion of mandatory fields)? For example, when importing data, I can have information about the user's login. I will create a record for him and l...
X Description: Is it possible to change the record type (with completion of mandatory fields)? For example, when importing data, I can have information about the user's login. I will create a record for him a...
Opengraph URL: https://github.com/ArcadeData/arcadedb/issues/934
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Is it possible to change type of record?","articleBody":"Is it possible to change the record type (with completion of mandatory fields)?\r\nFor example, when importing data, I can have information about the user's login. I will create a record for him and link it with other data. Subsequently, in a separate transaction, I download additional information about the user and add it to the original record. However, I would also like to update the record type so that it is clear from the type that all mandatory fields for the given type are filled out.\r\n\r\n```sql\r\nCREATE VERTEX TYPE PersonBasic;\r\nCREATE PROPERTY PersonBasic.login STRING (mandatory true, notnull true);\r\n\r\nCREATE VERTEX TYPE PersonFull EXTENDS PersonBasic;\r\nCREATE PROPERTY PersonFull.displayName STRING (mandatory true, notnull true);\r\nCREATE PROPERTY PersonFull.email STRING (mandatory false, notnull true);\r\nCREATE PROPERTY PersonFull.nick STRING (mandatory false, notnull true);\r\n\r\nCREATE VERTEX PersonBasic SET login = 'bobo';\r\n\r\n-- create edge to created PersonBasic\r\nCREATE EDGE E1 FROM #10:3 TO #11:4;\r\n\r\n-- change type to PersonFull somehow ???\r\nUPDATE #11:4 SET displayName = 'Bob Sandwich', email = 'bobo@example.com', nick = 'Bobo';\r\n```","author":{"url":"https://github.com/FilipJirsak","@type":"Person","name":"FilipJirsak"},"datePublished":"2023-03-13T13:04:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/934/arcadedb/issues/934"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:150e178c-02e7-7685-033a-c129f1442d82 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CDEC:229D5F:32F16E3:43CEE93:6A65422A |
| html-safe-nonce | b6e49eeae053fcd7501ace5a71f9ef5b8b593e01182b8591465ac65bc4c7751d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREVDOjIyOUQ1RjozMkYxNkUzOjQzQ0VFOTM6NkE2NTQyMkEiLCJ2aXNpdG9yX2lkIjoiNzc0MTk1NDQ4Mjk5ODk1MjQ5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 947c3d41f366bdbad967dbf43194efd0acf64cfd132800c51dd1b40b5d614a9f |
| hovercard-subject-tag | issue:1621450236 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ArcadeData/arcadedb/934/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9b619b4faa997e4f4b634e38bf9fb06435205176b442b9c818df28b4b16d81f6/ArcadeData/arcadedb/issues/934 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9b619b4faa997e4f4b634e38bf9fb06435205176b442b9c818df28b4b16d81f6/ArcadeData/arcadedb/issues/934 |
| og:image:alt | Is it possible to change the record type (with completion of mandatory fields)? For example, when importing data, I can have information about the user's login. I will create a record for him and l... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | FilipJirsak |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b |
| turbo-cache-control | no-preview |
| go-import | github.com/ArcadeData/arcadedb git https://github.com/ArcadeData/arcadedb.git |
| octolytics-dimension-user_id | 32255470 |
| octolytics-dimension-user_login | ArcadeData |
| octolytics-dimension-repository_id | 396867188 |
| octolytics-dimension-repository_nwo | ArcadeData/arcadedb |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 396867188 |
| octolytics-dimension-repository_network_root_nwo | ArcadeData/arcadedb |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 309153364422b3c499922d1a2a6404910a58ed8e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width