mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-24 18:08:18 +03:00
12 lines
296 B
Go
12 lines
296 B
Go
|
//go:build (go1.23 || goexperiment.rangefunc) && !vet
|
||
|
|
||
|
package sqlite3
|
||
|
|
||
|
import "iter"
|
||
|
|
||
|
// Stmts returns an iterator for the prepared statements
|
||
|
// associated with the database connection.
|
||
|
//
|
||
|
// https://sqlite.org/c3ref/next_stmt.html
|
||
|
func (c *Conn) Stmts() iter.Seq[*Stmt] { return c.stmtsIter }
|