prisma / quaint

SQL Query AST and Visitor for Rust
Apache License 2.0
582 stars 62 forks source link

Removal of panics #137

Closed pimeys closed 4 years ago

pimeys commented 4 years ago

With the upcoming changes for mssql, we get result types in the visitors and don't need to panic anymore in cases where user wants to use types such as Array in databases that do not support them (everything else except PostgreSQL).

Remove all places of panic!, unimplemented! etc. and replace them with proper error types.