From 20e5d3fe52ea62f6e94b926f374aa02c956d4a72 Mon Sep 17 00:00:00 2001 From: danylo-safonov-solid Date: Mon, 18 Sep 2023 22:00:23 +0300 Subject: [PATCH] mini upd --- lib/src/query.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/src/query.dart b/lib/src/query.dart index 5c54db3..5f898b2 100644 --- a/lib/src/query.dart +++ b/lib/src/query.dart @@ -10,5 +10,7 @@ class Query {} /// [deno-postgres@v0.17.0/Query](https://deno.land/x/postgres@v0.17.0/query/query.ts?s=Query). extension QueryProps on Query { /// [deno-postgres@v0.17.0/Query/result_type](https://deno.land/x/postgres@v0.17.0/query/query.ts?s=Query#prop_result_type). - ResultType get resultType => getProperty(this, 'result_type'); + ResultType get resultType => ResultType.parse( + getProperty(this, 'result_type'), + ); }