Closed
Description
I ran into a error when executing a SELECT * from a somewhat bigger table. While the regular table browse function uses some form of paging to limit the result set to be returned, it's probably not appropriate to fiddle with user-supplied queries in the same way, even if it's a blunt a SELECT *, so let's maybe detect if the returned error is a one as in the snippet below and return something nicer such as "Query result set is too big. Please use a TOP clause or change the statement to retrieve fewer rows"
ERROR #5002: ObjectScript error: <STORE>^%Api.Atelier.v1.1 [^%Api.Atelier.v1.1:USER]
sqltools-intersystems-driver/src/ls/irisdb.ts
Line 141 in bf8d99c
Metadata
Metadata
Assignees
Labels
No labels