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
simolus3 committed Jan 21, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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
@@ -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();
}

0 comments on commit bb7bcb0

Please sign in to comment.