expr VS postgresql_faker

Compare expr vs postgresql_faker and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
expr postgresql_faker
5 1
5,609 -
3.0% -
9.5 -
6 days ago -
Go
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

expr

Posts with mentions or reviews of expr. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-25.

postgresql_faker

Posts with mentions or reviews of postgresql_faker. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-25.
  • SQL as API
    7 projects | news.ycombinator.com | 25 Dec 2023
    > What you have listed is not an actual solution, just a list of things you'd need to solve it

    Sorry. HN comments is a narrow channel and so I elected not to try to squeeze a full-blown actual solution through it.

    > I could say the only thing you need for the DSL to SQL solution is a programming language, my list would be one item

    Well...I enumerated the features of the language I'm using just as you could enumerate the features of your programming language. My list could have one item just as easily as yours can: "PostgreSQL DDL"

    > how to test this is a valid question as well

    My answer to that question has been to use pgTAP for testing and postgresql_faker to generate synthetic data

    https://pgtap.org/

    https://gitlab.com/dalibo/postgresql_faker

    > My tests also don't require a database to with data in it to test

    No, but they do require a runtime, be it in Scala or whatever. That's no different from my case where my test runtime is an ephemeral PostgreSQL database.

    > Do you have an example of how this works if you are performing joins between tables?

    You bet.

    https://asciinema.org/a/629243

    > Does every table need to have some sort of user id in it directly for that to work?

    It's common for single-database multi-tenant data models to add something like a "tenant_id" to every table. It's simple, more efficient, and more foolproof. You can however just join to other tables in the policy condition as I have done. Extra care should be taken as discussed in the PostgreSQL docs:

    https://www.postgresql.org/docs/current/ddl-rowsecurity.html

What are some alternatives?

When comparing expr and postgresql_faker you can also consider the following projects:

govaluate - Arbitrary expression evaluation for golang

cel-go - Fast, portable, non-Turing complete expression evaluation with gradual typing (Go)

grule-rule-engine - Rule engine implementation in Golang

go-exprtk - Go Mathematical Expression Toolkit. Run-time mathematical expression parser and evaluation engine.

gval - Expression evaluation in golang

tengo - A fast script language for Go

cel-go-benchmarks - Benchmark cel-go for my payloads

quamina - Home of Quamina, a fast pattern-matching library in Go

xamboo - The CMS Framework and web server to build full applications and APIs for Go

gojq - Pure Go implementation of jq

starlark-go - Starlark in Go: the Starlark configuration language, implemented in Go

The uGO Language - Script Language for Go