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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Namespace and database users: Tabularis's connection form has a
Databases tab and no Database field for this driver, so Host, Port,
Username and Password alone send no namespace and only a root user can
sign in. The sign-in error now says to import a connection string with
the namespace and database (surrealdb://user:pass@host:8000/ns/db) and
keep it selected under Choose databases, and the README's Connecting
section describes the Databases tab and the connection string. No message
refers to a Database field any more.
A filtered table tab, or a record link followed to its record, showed
only the fields the returned records had: person filtered to Bob, who
has no age or best_friend, lost those two columns. Table tabs now show id and every declared field of the table, in declared order, then any
other field of the records, whichever records come back. Queries typed in
the editor keep the columns of their result.
Clicking a record link among the top values in the column statistics
popover, or filtering by a record link cell, filtered to 0 rows: the host
writes the value as text (`best_friend` = 'person:bob'), which
SurrealQL never equals a record. In table tabs and in the column
statistics, text compared with a record id or record link column
(record<…>, option<record<…>>, relation in / out) is now cast to
a record id when it is one of the linked table's. Other text is left as
it is.
The cast of the query that follows a record link no longer applies to
text that only starts like a record id ('person:a b'), which
SurrealDB 3.x read as another record (person:a) and 2.x refused.