Skip to content

Commit 4850e7f

Browse files
committed
fix: handle null value in Column method of ISender interface
1 parent c9492d7 commit 4850e7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/net-questdb-client/Senders/ISender.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ public interface ISender : IDisposable
239239
/// <returns>Itself</returns>
240240
public ISender Column(ReadOnlySpan<char> name, string? value)
241241
{
242+
if (value is null) return this;
242243
return Column(name, value.AsSpan());
243244
}
244245

0 commit comments

Comments
 (0)