Open mohdali opened 2 years ago
I like the proposal but read and write mode is a bit of confusing since both delete, insert and update can return a result set same as select.
In addition I would, maybe, not fetch whole result set at once but block to browse through result set (forward, backward, etc...) and fetch as it executes. Fetching everything for big result sets could be bad.
I like the proposal but read and write mode is a bit of confusing since both delete, insert and update can return a result set same as select.
In addition I would, maybe, not fetch whole result set at once but block to browse through result set (forward, backward, etc...) and fetch as it executes. Fetching everything for big result sets could be bad.
Since we now have the SQL activity we can probably start thinking about this.
I like the idea to make the activity a kind of a blocking iterator.
I also want to have a kind of bulk operations that will be more efficient with large data.
We may need to also support more DB types. Oracle is could be next.
I propose to introduce an
ExecuteSql
activity that can enable reading or writing data using an SQL query. The activity will have the following properties:select
query and return the result set.insert
orupdate
query and return the number of affected rows.As a plus, if Elsa designer can be extended to support SQL syntax it will allow syntax highlighting and possibly code completion while building the query.