Skip to content

Commit 2f10018

Browse files
methanegopherbot
authored andcommitted
doc/go1.22: mention new sql.Null[T]
For #60370. Change-Id: Idae906ec7027be6d95f78bf43f7ce8f9d07e6c00 GitHub-Last-Rev: c645f0c GitHub-Pull-Request: #62033 Reviewed-on: https://go-review.googlesource.com/c/go/+/519555 TryBot-Bypass: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
1 parent 294e1b2 commit 2f10018

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/go1.22.html

+9
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
7070
TODO: complete this section
7171
</p>
7272

73+
<dl id="database/sql"><dt><a href="/pkg/database/sql/">database/sql</a></dt>
74+
<dd>
75+
<p><!-- https://go.dev/issue/60370, CL 501700 -->
76+
The new <a href="/pkg/database/sql/#Null"><code>Null[T]</code></a> type
77+
provide a way to scan nullable columns for any column types.
78+
</p>
79+
</dd>
80+
</dl>
81+
7382
<h2 id="ports">Ports</h2>
7483

7584
<p>

0 commit comments

Comments
 (0)