File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
store/postgres/src/relational Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -267,10 +267,6 @@ impl<'a> Table<'a> {
267267 }
268268 } ;
269269
270- // NB: Exclude full-text search columns from selection. These columns are used for indexing
271- // and searching but are not part of the entity's data model.
272- cols. retain ( |c| !c. is_fulltext ( ) ) ;
273-
274270 if T :: WITH_INTERNAL_KEYS {
275271 match parent_type {
276272 Some ( IdType :: String ) => cols. push ( & * PARENT_STRING_COL ) ,
@@ -350,10 +346,7 @@ impl<'a> Table<'a> {
350346 ColumnType :: Int8 => add_field :: < BigInt > ( & mut selection, self , column) ,
351347 ColumnType :: Timestamp => add_field :: < Timestamptz > ( & mut selection, self , column) ,
352348 ColumnType :: String => add_field :: < Text > ( & mut selection, self , column) ,
353- ColumnType :: TSVector ( _) => {
354- // Skip tsvector columns in SELECT as they are for full-text search only and not
355- // meant to be directly queried or returned
356- }
349+ ColumnType :: TSVector ( _) => add_field :: < Text > ( & mut selection, self , column) ,
357350 ColumnType :: Enum ( _) => add_enum_field ( & mut selection, self , column) ,
358351 } ;
359352 }
You can’t perform that action at this time.
0 commit comments