Provider returns the database provider for the session.
()
| 40 | |
| 41 | type SessionOption func(*Session) |
| 42 | |
| 43 | // WithQueryRowLimit limits the number of rows returned by queries in a session. |
| 44 | // A limit of zero leaves query results unlimited. |
| 45 | func WithQueryRowLimit(limit uint64) SessionOption { |
| 46 | return func(sess *Session) { |
| 47 | sess.queryRowLimit = limit |
no outgoing calls
no test coverage detected