diff options
Diffstat (limited to 'vendor/github.com/ncruces/go-sqlite3/conn_old.go')
-rw-r--r-- | vendor/github.com/ncruces/go-sqlite3/conn_old.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/ncruces/go-sqlite3/conn_old.go b/vendor/github.com/ncruces/go-sqlite3/conn_old.go new file mode 100644 index 000000000..921011d80 --- /dev/null +++ b/vendor/github.com/ncruces/go-sqlite3/conn_old.go @@ -0,0 +1,9 @@ +//go:build !(go1.23 || goexperiment.rangefunc) || vet + +package sqlite3 + +// Stmts returns an iterator for the prepared statements +// associated with the database connection. +// +// https://sqlite.org/c3ref/next_stmt.html +func (c *Conn) Stmts() func(func(*Stmt) bool) { return c.stmtsIter } |