ent

An entity framework for Go (by facebook)

Ent Alternatives

Similar projects and alternatives to ent

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better ent alternative or higher similarity.

ent discussion

Log in or Post with

ent reviews and mentions

Posts with mentions or reviews of ent. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-09-29.
  • Pagoda: Rapid, easy full-stack web development starter kit in Go
    2 projects | news.ycombinator.com | 29 Sep 2024
    > Ent heavily uses joins

    I’m specifically talking about this: https://github.com/ent/ent/issues/977.

    Devs assume that the `With` methods are adding join clauses but that is not typically the case.

    > does support multi field indices

    Composite primary keys are useful for reasons other than unique constraints and query speed. For example, CockroachDB uses the primary key to partition rows. Also, at scale, an extra multi-column index in addition to the primary key when the primary key alone could have sufficed can be a meaningful performance degradation.

    > not a Graph DB under the hood

    No it is not, but because it has a graph ‘mindset’ and does support Gremlin, traditional SQL folks expecting a lightweight ORM (such as Drizzle in the JS world) may not have a good time.

  • Concurrency Control in Go with Ent ORM and MySQL
    2 projects | dev.to | 21 Mar 2024
    In this article, we'll delve into the world of concurrency control in Go, specifically focusing on the optimistic locking approach. We'll explore its implementation using Ent ORM to illustrate how to manage data consistency when multiple users interact with the same resource. Keep in mind that this example serves as a simplified illustration, and real-world booking systems involve a many of additional complexities. However, the core concepts presented here provide a solid foundation for understanding optimistic locking in Go applications. Feel free to explore the complete source code in my GitHub repository for a more in-depth look at the implementation.
  • Go ORMs Compared
    5 projects | dev.to | 18 Jan 2024
    ent is a fairly recent ORM that uses a code-first approach where you define your schema in Go code. Ent is popular thanks to its ability to handle complex data models and relationships elegantly. It's statically typed, which can help catch errors at compile time. However, the learning curve might be steeper compared to more straightforward ORMs like GORM. It's a good fit for applications where complex data models and type safety are priorities.
  • Stop using entgo...please
    2 projects | dev.to | 8 Jan 2024
    If you found this article, than you are probably similar to how I was a few months ago. I started a project in Go that required a SQL backend and I wanted to use any tool that would help me build this backend quickly. I stumbled upon entgo (an ORM for Go) and decided to give it a try.
  • Pocketbase: Open-source back end in 1 file
    15 projects | news.ycombinator.com | 6 Jan 2024
  • Why Golang instead of Rust to develop the Krater desktop app
    5 projects | news.ycombinator.com | 7 Nov 2023
    The ent orm for golang actually does some useful work for you. https://github.com/ent/ent
  • Open-sourcing SQX, a way to build flexible database models in Go
    5 projects | news.ycombinator.com | 2 Sep 2023
  • Learning Go for Backend/Fullstack development?
    5 projects | /r/golang | 7 Jul 2023
    Backend Database interaction with entgo
  • Ent ORM for Golang
    1 project | news.ycombinator.com | 28 Jun 2023
  • My Issue With ORMs
    1 project | /r/golang | 15 May 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 11 Dec 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic ent repo stats
146
15,717
8.2
12 days ago

facebook/ent is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of ent is Go.


Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai