Preql VS tresql

Compare Preql vs tresql and see what are their differences.

Preql

An interpreted relational query language that compiles to SQL. (by erezsh)

tresql

Shorthand SQL/JDBC wrapper language, providing nested results as JSON and more (by mrumkovskis)
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
Preql tresql
16 3
594 31
- -
0.0 8.7
over 1 year ago 17 days ago
Python Scala
GNU General Public License v3.0 or later 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.

Preql

Posts with mentions or reviews of Preql. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-28.

tresql

Posts with mentions or reviews of tresql. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-24.
  • PRQL is a modern language for transforming data — a simpler and more powerful SQL
    3 projects | /r/databasedevelopment | 24 Jan 2022
    * https://github.com/mrumkovskis/tresql
  • Show HN: PRQL – A Proposal for a Better SQL
    15 projects | news.ycombinator.com | 24 Jan 2022
    I'm really excited about languages that build on or are compiled to SQL, in the long-term (because I think it will take a very long time to build adoption).

    The ones that particularly excite me are shorthands for SQL, even though their heavy use of symbols may be a detriment. One particular use case is in easily defining authorization policies.

    I am not very excited by datalog/prolog-based languages because I think logic languages are too unnatural to ever go mainstream. But I'd be excited to be wrong or for logic languages to become more friendly.

    Here are some others I'm watching.

      * https://github.com/mrumkovskis/tresql
  • We Turn Authorization Logic into SQL
    3 projects | news.ycombinator.com | 23 Nov 2021
    Are there any policy-language-libraries-backed-by-sql like Polar but that aren't based on logic programming languages? I don't really want to learn logic programming for this purpose nor do I want to require it on my coworkers.

    I guess I'm just looking for a SQL shorthand that can easily interpolate request variables and session variables but that gets declared in code where a route is declared. Just spitballing but something like `(blogs.id = $req.blogid).userid = $session.userid OR (users.id = $session.userid).isAdmin`.

    This [0] is close but it doesn't have enough momentum to be usable in every language you'd want.

    [0] https://github.com/mrumkovskis/tresql

What are some alternatives?

When comparing Preql and tresql you can also consider the following projects:

prql - PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement

PyPika - PyPika is a python SQL query builder that exposes the full richness of the SQL language using a syntax that reflects the resulting query. PyPika excels at all sorts of SQL queries but is especially useful for data analysis.

spyql - Query data on the command line with SQL-like SELECTs powered by Python expressions

rel8 - Hey! Hey! Can u rel8?

FunSQL.jl - Julia library for compositional construction of SQL queries

malloy - Malloy is an experimental language for describing data relationships and transformations.

partiql-lang-kotlin - PartiQL libraries and tools in Kotlin.

db-benchmark - reproducible benchmark of database-like ops

logica - Logica is a logic programming language that compiles to SQL. It runs on Google BigQuery, PostgreSQL and SQLite.

prosto - Prosto is a data processing toolkit radically changing how data is processed by heavily relying on functions and operations with functions - an alternative to map-reduce and join-groupby

cytosm - OpenCypher to SQL Mapper