-
Is there a way to get all the documents of the database regardless of the table?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @AFatNiBBa , so the way SurrealDB works is slightly different. In SurrealDB everything belongs to a table, while in Neo4j, everything is described with metadata instead. So in SurrealDB there is not (yet) a way of getting all items, but you can select from multiple different tables at the same time. So technically you can select every table type, which would have the same effect. But obviously not quite as nice... SELECT * FROM person, user, admin, game, movie, actor; |
Beta Was this translation helpful? Give feedback.
Hi @AFatNiBBa , so the way SurrealDB works is slightly different. In SurrealDB everything belongs to a table, while in Neo4j, everything is described with metadata instead.
So in SurrealDB there is not (yet) a way of getting all items, but you can select from multiple different tables at the same time. So technically you can select every table type, which would have the same effect. But obviously not quite as nice...