Closed huytool157 closed 1 year ago
This isn't really an ideal use case for streams; you should run two separate streams.
However, the request object will emit a recordset
event with the columns as the argument every time it encounters a new recordset (ie: query).
Say I want to query this sql query that contains multiple select statements using
stream
select * from users; select * from organizations
Since we're using
stream
, each row got returned one by one. How do we know if row X is a result from the first or second select statement?Expected behaviour:
Actual behaviour:
Configuration:
Software versions