Documentation.

This commit is contained in:
Nuno Cruces
2023-03-01 10:34:08 +00:00
parent e64bffa520
commit c7165a2e56
10 changed files with 49 additions and 30 deletions

View File

@@ -9,6 +9,8 @@ type ZeroBlob int64
// Blob is a handle to an open BLOB.
//
// It implements [io.ReadWriteSeeker] for incremental BLOB I/O.
//
// https://www.sqlite.org/c3ref/blob.html
type Blob struct {
c *Conn
@@ -50,7 +52,7 @@ func (c *Conn) OpenBlob(db, table, column string, row int64, write bool) (*Blob,
// Close closes a BLOB handle.
//
// It is safe to close a nil, zero or closed BLOB handle.
// It is safe to close a nil, zero or closed Blob.
//
// https://www.sqlite.org/c3ref/blob_close.html
func (b *Blob) Close() error {