Skip to content

Commit

Permalink
Merge pull request #301 from stephenafamo/atlas-prisma
Browse files Browse the repository at this point in the history
Remove the Atlas and Prisma codgen drivers
  • Loading branch information
stephenafamo authored Nov 15, 2024
2 parents 428c45b + 7aeefd7 commit 793e307
Show file tree
Hide file tree
Showing 30 changed files with 68 additions and 17,765 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
It is possible to do the same thing, with similar effor using the the `UpdateQ` and `DeleteQ` methods (which are now renamed to `Update` and `Delete`).
- `context.Context` and `bob.Executor` are no longer passed when creating a Table/ViewQuery. It is now passed at the point of execution with `Exec/One/All/Cursor`.
- Remove `Prepare` methods from table and view qureries. Since `bob.Prepare()` now takes a type parameter, it is not possible to prepare from a method since Go does not allow additional type parameters in methods.
- Removed the **Prisma** and **Atlas** code generation drivers. It is better for Bob to focus on being able to generate code from the database in the most robust and detailed way and if the user wants, they can use other tools (such as prisma and atlas) to manage migrations before the code generation.

### Fixed

Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ Check out [the documentation][docs] for more information.
| Postgres |||||
| MySQL/MariaDB |||||
| SQLite |||||
| Atlas | | |||
| Prisma | | |||

## Comparisons

Expand Down
Loading

0 comments on commit 793e307

Please sign in to comment.