1
0
mirror of https://github.com/golang/go synced 2024-11-26 04:37:59 -07:00

doc/go1.22: mention new sql.Null[T]

For #60370.

Change-Id: Idae906ec7027be6d95f78bf43f7ce8f9d07e6c00
GitHub-Last-Rev: c645f0cf82
GitHub-Pull-Request: golang/go#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>
This commit is contained in:
Inada Naoki 2023-08-15 04:33:37 +00:00 committed by Gopher Robot
parent 294e1b260e
commit 2f100187f6

View File

@ -70,6 +70,15 @@ Do not send CLs removing the interior tags from such phrases.
TODO: complete this section
</p>
<dl id="database/sql"><dt><a href="/pkg/database/sql/">database/sql</a></dt>
<dd>
<p><!-- https://go.dev/issue/60370, CL 501700 -->
The new <a href="/pkg/database/sql/#Null"><code>Null[T]</code></a> type
provide a way to scan nullable columns for any column types.
</p>
</dd>
</dl>
<h2 id="ports">Ports</h2>
<p>