Skip to content

Commit

Permalink
Merge branch 'fts_nullable' of https://github.com/FaFre/drift into de…
Browse files Browse the repository at this point in the history
…velop
  • Loading branch information
simolus3 committed Jan 21, 2025
2 parents 71850de + c92a0f2 commit bb7bcb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sqlparser/lib/src/engine/module/fts5.dart
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ class _Fts5Functions with ArgumentCountLinter implements FunctionHandler {
return const ResolveResult(ResolvedType(type: BasicType.real));
case 'highlight':
case 'snippet':
return const ResolveResult(ResolvedType(type: BasicType.text));
return const ResolveResult(
ResolvedType(type: BasicType.text, nullable: true));
}
return const ResolveResult.unknown();
}
Expand Down

0 comments on commit bb7bcb0

Please sign in to comment.