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
REMOVE TABLE wallet;
REMOVE TABLE person;
UPDATE wallet:1 CONTENT {
day: 1,
};
SELECT * FROM wallet WHERE day > 0 TIMEOUT 0s; // OK, times out as expected
RETURN array::flatten(SELECT * FROM wallet WHERE day > 0 TIMEOUT 0s); // Does NOT time out!
//RETURN array::flatten(SELECT * FROM wallet WHERE day > 0) TIMEOUT 0s; // invalid syntax
Steps to reproduce
Execute code above.
Expected behaviour
The timeout should be respected when placed inside the RETURN statement. Alternatively, the syntax should allow a TIMEOUT clause for RETURN.
SurrealDB version
v1.4.2
Contact Details
No response
Is there an existing issue for this?
I have searched the existing issues
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the bug
Steps to reproduce
Execute code above.
Expected behaviour
The timeout should be respected when placed inside the RETURN statement. Alternatively, the syntax should allow a TIMEOUT clause for RETURN.
SurrealDB version
v1.4.2
Contact Details
No response
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: