14 Repos
Dynamic scripting environments that inject variables into SQL queries before execution.
Explore 14 awesome GitHub repositories matching data & databases · SQL Templating Engines. Refine with filters or upvote what's useful.
Superset is a web-based business intelligence platform designed for data exploration, visualization, and interactive dashboarding. It functions as a query-driven analytics engine that connects to various SQL databases, allowing users to perform ad-hoc analysis, define virtual metrics, and build complex data visualizations through a centralized interface. The platform distinguishes itself through a robust semantic layer that transforms raw database schemas into calculated columns and virtual metrics, enabling consistent business logic across an organization. It features a plugin-based visualiz
Embeds dynamic user context and filter parameters directly into SQL queries prior to execution.
This project is a business intelligence suite and SQL data visualization platform used for data analysis, reporting, and monitoring. It provides a web application for exploring datasets and building interactive dashboards, complemented by a web-based SQL query editor for analyzing raw data from connected stores. The platform features a semantic data layer to define standardized metrics and dimensions, ensuring consistent data interpretation across reports. It includes a security framework with role-based access control to manage user permissions and authentication across shared dashboards. T
Utilizes Jinja-based templating to inject parameters and logic into SQL queries for dynamic data retrieval.
This project is a comprehensive reference collection of practical implementation examples and patterns for building applications with Spring Boot. It serves as a Java web application template and a showcase for developing functional web services featuring REST endpoints, template engines, and global exception handling. The repository distinguishes itself by providing detailed demonstrations of enterprise-grade features, including distributed locking, task scheduling, and asynchronous message exchange using brokers like RabbitMQ. It also includes reference implementations for automated API doc
Provides integration with template-based SQL engines to simplify the execution of dynamic queries.
MyBatis is a Java persistence framework that functions as a database query mapper and object-relational mapping tool. It decouples SQL statements from application code, allowing developers to manage database interactions by mapping Java objects to relational database records. The framework provides a centralized approach to SQL query management, enabling the use of either XML configuration files or annotations to define persistence logic. It automates the transformation of database result sets into structured objects, which eliminates the need for manual data conversion and reduces repetitive
Provides a template engine for constructing dynamic SQL queries based on runtime parameters.
This project is a pure JavaScript database driver for Node.js that implements the native MySQL binary protocol. It serves as a comprehensive connector for managing persistent network links to MySQL servers, enabling applications to execute queries, manage transactions, and handle complex data operations without requiring external middleware. The driver distinguishes itself through its integrated support for connection pooling and distributed database routing. It maintains managed sets of reusable network sockets to optimize resource usage under high request volumes, while simultaneously provi
Prevents injection vulnerabilities by automatically escaping and binding user-provided values into SQL templates before transmission to the server.
Kysely is a TypeScript SQL query builder that provides a type-safe interface for constructing and executing database queries. It functions as a database layer that ensures schema compliance and prevents runtime errors by using a fluent interface and a programmable way to build complex SQL statements. The project features a type-safe database layer capable of inferring return types and aliases from SQL selections and joins. It also includes a SQL migration manager to track and apply schema changes across different environments to keep database versions synchronized. The toolkit covers relatio
Uses tagged templates to separate raw SQL from user values to prevent SQL injection attacks.
dbt-core is a command-line framework for transforming data within a warehouse using modular SQL and version control. It functions as a data transformation engine that enables users to define data structures and business logic through declarative configuration files, which the system then compiles into executable code. By managing complex data dependencies through a directed acyclic graph, it ensures that transformation tasks execute in the correct order while maintaining a manifest-driven state to track lineage and execution history. The project distinguishes itself through an adapter-based d
Injects variables and macro results into SQL statements using templating to generate flexible and reusable transformation logic.
SQLFluff is a multi-dialect SQL linter, formatter, and style guide enforcer. It functions as a parser and analyzer that converts SQL scripts into structured trees to validate syntax, identify logical components, and enforce consistent capitalization, aliasing, and layout conventions across various database dialects. The system is specifically designed to handle templated SQL, providing the ability to analyze, parse, and lint files containing macros or placeholders. It uses dummy-parameter rendering and source mapping to validate the style and correctness of dynamic code before it is rendered
Evaluates files containing placeholders or macros using dummy parameters to validate style and correctness.
GrowthBook is a feature flagging and experimentation platform that utilizes a warehouse-native approach to data analysis. It serves as a system for managing feature rollouts and conducting A/B tests by executing SQL queries directly against existing data warehouses to calculate experiment results. The platform is distinguished by its integration of a Model Context Protocol server, which allows AI coding assistants and IDEs to manage flags and query analytics using natural language. It also provides specialized capabilities for AI model optimization, enabling the testing of prompts and models
Injects custom field values and phase data into SQL queries to refine data joins and optimize warehouse performance.
jOOQ is a type-safe SQL query builder for Java that generates code from live database schemas, enabling compile-time validation of SQL syntax and data types. Its core identity is built around a fluent DSL that mirrors SQL structure, a code generator that maps tables, views, and routines to Java objects, and a multi-dialect engine that translates the same DSL into vendor-specific SQL for over 30 databases. The project also includes a SQL parser and transformer for refactoring or dialect conversion, reactive stream integration for non-blocking query execution, and a JDBC proxy diagnostics tool f
References the same placeholder multiple times within a single SQL string to reuse a value in different positions.
Davinci ist eine Business-Intelligence- und Datenvisualisierungsplattform, die für den Aufbau interaktiver Dashboards und Berichte verwendet wird. Sie fungiert als SQL-basierter Dashboard-Builder und Multi-Tenant-Analytics-Dienst, der über JDBC und CSV-Dateien mit Datenbanken verbunden wird, um Rohdaten in visuelle Komponenten zu transformieren. Die Plattform zeichnet sich durch ihr granulares Sicherheitsmodell aus, das Zeilen- und Spalten-basierte Berechtigungen umfasst, die in LDAP- und OAuth2-Authentifizierung integriert sind. Sie bietet zudem ein eingebettetes Visualisierungstool, das es ermöglicht, sichere, parametrisierte Diagramme und Dashboards über URLs und Frames in externe Anwendungen einzubinden. Das System deckt ein breites Spektrum an Funktionen ab, einschließlich Datenmodellierung mit SQL-Vorlagen, einer Drag-and-Drop-Layout-Engine für responsive Dashboards und einer Vielzahl von Visualisierungstypen wie Sankey-Diagrammen, Radar-Charts und geografischen Karten. Zudem umfasst es Automatisierungen für die Planung E-Mail-basierter Berichte und nutzt Key-Value-Caching zur Optimierung der Abfrageleistung.
Utilizes SQL templating engines to inject variables into queries for flexible dataset extraction.
Slonik ist ein typsicherer PostgreSQL-Client für Node.js, der Tagged Template Literals verwendet, um sicherzustellen, dass Parameter gebunden und gegen Injection-Angriffe geschützt sind. Er bietet ein Framework für die Verbindung von Anwendungen mit PostgreSQL mit automatischer Typüberprüfung für Abfragen und Datenbankschemata. Das Projekt zeichnet sich durch einen spezialisierten SQL-Abfrage-Linter aus, der ungültige Spalten und Typ-Fehlanpassungen erkennt, indem er Code während des Entwicklungsprozesses gegen ein Live-Datenbankschema verifiziert. Es enthält zudem einen hochperformanten binären Bulk-Daten-Inserter zum Laden großer Datensätze mittels nativer binärer Serialisierung sowie einen Connection-Pool-Manager, der dynamisches Query-Routing zwischen Primär- und Replika-Knoten ermöglicht. Die Bibliothek deckt ein breites Set an Datenbankfähigkeiten ab, einschließlich atomarem Transaktionsmanagement, dynamischem SQL-Abfragebau und der Verarbeitung großer Ergebnismengen mittels async-iterable Streaming. Sie bietet zudem Middleware-Interzeptoren für Logging und Benchmarking, benutzerdefiniertes Typ-Parsing und asynchrone Callback-Mechanismen zur Aktualisierung von Datenbank-Authentifizierungsdaten.
Uses tagged template literals to automatically bind parameters, ensuring type safety and preventing SQL injection attacks.
PostgREST ist ein Tool, das automatisch ein PostgreSQL-Datenbankschema in eine produktionsreife RESTful-API transformiert. Es dient als Datenbankzugriffsschicht und Abfrage-Engine, die HTTP-Anfragen direkt auf SQL-Abfragen abbildet und eine Low-Code-Schnittstelle für die Ausführung von Create-, Read-, Update- und Delete-Operationen bietet, ohne dass manueller Boilerplate-Code erforderlich ist. Das Projekt zeichnet sich durch schema-gesteuerte API-Generierung und metadatenbasierte Erkennung aus, um Datenbanktabellen als navigierbare Ressourcen offenzulegen. Es erweitert Standard-CRUD-Funktionen durch die Ausführung von benutzerdefiniertem und templated SQL, ein Plugin-basiertes Middleware-System zur Injektion von Geschäftslogik und die Möglichkeit, externe Shared Libraries zur Laufzeit zu laden. Das System deckt ein breites Spektrum an Funktionen ab, einschließlich komplexer Datenabfragen mit Tabellen-Joins, Aggregationen und Volltextsuche. Es implementiert ein umfassendes Sicherheits-Framework mit tokenbasierter Authentifizierung, granularen Berechtigungen auf Tabellenebene und CORS-Management. Zusätzliche operative Funktionen umfassen lokales Result-Caching, Server-Health-Monitoring und Konnektivität für verteilte SQL-Datenbanken und Amazon Redshift. Die Installation wird über mehrere Umgebungen hinweg unterstützt, einschließlich als eigenständige Binärdatei oder über Docker Compose- und Heroku-Automatisierungstemplates.
Allows fetching and filtering data dynamically by running database queries through customizable URL templates.
Jodd ist eine Suite von leichtgewichtigen Java-Erweiterungen und Standardbibliotheks-Utilities für Anwendungskonfiguration, Datenbank-Mapping, Dependency Injection und HTML-Parsing. Es bietet ein konsolidiertes Set an Core-Tools, um die Java-Entwicklung zu erleichtern, mit einem Zero-Dependency-Kern, der Kompatibilität und einen geringen Footprint in verschiedenen Umgebungen sicherstellt. Das Projekt bietet einen pragmatischen Dependency-Injection-Container zur Verwaltung von Objekt-Lebenszyklen und einen Datenbank-Mapper, der SQL-Templates verwendet, um Result-Sets direkt auf Java-Objekte zu mappen. Es enthält einen spezialisierten Konfigurationsmanager, der Profile, Sektionen und Makros unterstützt, sowie einen HTML-Parser, der Elemente mittels CSS3-Selektoren extrahiert. Zusätzliche Funktionen umfassen Netzwerkkommunikation über einen leichtgewichtigen HTTP-Client, JSON-Serialisierung sowie E-Mail-Versand und -Empfang. Das Toolkit bietet zudem Utilities für Datenvalidierung, Typkonvertierung, Transaktionsmanagement und die Generierung dynamischer Proxys für Verhaltens-Interzeption.
Executes database queries and maps result sets directly to Java objects using SQL templates.