Open attempts to connect to the database.
(connURL db.ConnectionURL)
| 124 | |
| 125 | // Open attempts to connect to the database. |
| 126 | func (s *Source) Open(connURL db.ConnectionURL) error { |
| 127 | s.connURL = connURL |
| 128 | return s.open() |
| 129 | } |
| 130 | |
| 131 | // Clone returns a cloned db.Session session. |
| 132 | func (s *Source) Clone() (db.Session, error) { |