summaryrefslogtreecommitdiff
path: root/vendor/github.com/ncruces/go-sqlite3/conn_iter.go
blob: 470f0ade23058c6dfefe489cbabb4a531c94a8c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
//go:build go1.23

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 }