Closed anna-geller closed 2 days ago
After taking a quick look I understand that fetchType
can be STORE, FETCH, FETCH_ONE, or NONE so it is useful to deprecate store, fetch, fetchType, and fetchOne.
But why do we want to deprecate fetchSize ?
Indeed fetchSize
is needed for fetchType: FETCH
. We should keep it for now.
thx Ben!
Feature description
Currently, we do our best to use
fetchType
in allQuery
andTrigger
implementations: https://kestra.io/plugins/plugin-surrealdb/tasks/io.kestra.plugin.surrealdb.query#fetchtypeHowever, some older plugins like Postgres use the approach with
store
,fetch
,fetchType
andfetchOne
properties. To keep it maintainable, it seems best to deprecate those and keep thefetchType
for consistency.