Open opens a file-based database using the default driver.
(dbPath string, fkEnabled, wal bool)
| 234 | |
| 235 | // Open opens a file-based database using the default driver. |
| 236 | func Open(dbPath string, fkEnabled, wal bool) (retDB *DB, retErr error) { |
| 237 | return OpenWithDriver(DefaultDriver(), dbPath, fkEnabled, wal) |
| 238 | } |
| 239 | |
| 240 | // OpenWithDriver opens a file-based database, creating it if it does not exist. |
| 241 | // After this function returns, an actual SQLite file will always exist. If the |