public static IPostgresTuple NullableTimestampToTuple(DateTime?value) { if (value.HasValue) { return(TimestampConverter.ToTuple(value.Value)); } return(null); }
public static IPostgresTuple TimestampToTuple(DateTime value) { return(TimestampConverter.ToTuple(value)); }