Pode with ORM #1415
behrouzamiri
started this conversation in
Ideas
Pode with ORM
#1415
Replies: 2 comments
-
This could be achieved either by building ORM for Pode from scratch or by adopting or wrapping an ORM for PowerShell, maybe EF Core, for instance. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I like the idea, though this would be a huge undertaking. If done it would benefit from being an extension module, such as It would also have to be written from scratch; EF Core, and other .NET ORMs, wouldn't work elegantly with PowerShell structure/syntax - and you'd be writing C# code nearly all of the time. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Implement PowerShell ORM Component for Pode
Description:
I would like to propose the addition of an Object-Relational Mapping (ORM) component to the Pode project. This component would function similarly to Django's ORM, providing a powerful and flexible way to interact with databases using PowerShell.
Motivation:
Currently, Pode lacks a built-in ORM, which makes database interactions more cumbersome and less intuitive. By introducing an ORM component, we can streamline database operations, improve code readability, and enhance the overall developer experience. This feature would be particularly beneficial for developers who are familiar with ORMs in other frameworks, such as Django, and are looking for similar functionality in PowerShell.
Technical Specifications:
Database Abstraction Layer:
Model Definition:
Query Builder:
Migration System:
Validation and Serialization:
Integration with Pode:
Benefits:
Beta Was this translation helpful? Give feedback.
All reactions