Use "or" syntax for all ORM operations #284

Open
opened 2022-11-02 08:25:19 +01:00 by Jef Roosens · 2 comments

V 0.3.2 introduces using the or syntax with ORM code blocks. This allows us to catch all database errors, meaning Vieter won't crash anymore if the database returns an error.

This is currently being blocked by this issue

V 0.3.2 introduces using the `or` syntax with ORM code blocks. This allows us to catch all database errors, meaning Vieter won't crash anymore if the database returns an error. This is currently being blocked by [this issue](https://github.com/vlang/v/issues/16330)
Jef Roosens added this to the 0.5.0 milestone 2022-11-02 08:25:19 +01:00
Jef Roosens added the
enhancement
label 2022-11-02 08:25:19 +01:00
Jef Roosens added this to the (deleted) project 2022-11-02 08:27:21 +01:00
Jef Roosens added a new dependency 2022-11-04 13:56:44 +01:00
Jef Roosens added the
V
label 2022-11-04 13:56:56 +01:00
Jef Roosens removed a dependency 2022-11-07 21:09:50 +01:00
Jef Roosens removed this from the 0.5.0 milestone 2022-12-14 18:50:37 +01:00
https://github.com/vlang/v/pull/16948
[it's been fixed](https://github.com/vlang/v/commit/ba091a36dd722cf47b426f5716d07a35beb5331f)
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vieter-v/vieter#284
There is no content yet.