3 个仓库
Using any code snippet as a query to find structurally similar code, without requiring knowledge of abstract syntax trees.
Distinct from Code Search: Distinct from Code Search: focuses on querying by example snippet rather than natural language or regex patterns.
Explore 3 awesome GitHub repositories matching data & databases · Example-Based Code Queries. Refine with filters or upvote what's useful.
Mapper is a MyBatis-specific library that provides annotation-driven object-relational mapping, enabling single-table CRUD operations without writing SQL or XML. It uses Java reflection and field-level annotations to map entity fields to database columns, configure primary key generation strategies, and generate mapper interfaces and model classes from database schemas. The library distinguishes itself through several practical capabilities. It includes a safe operation guard that blocks delete and update calls lacking query conditions, preventing accidental full-table modifications. Its exam
Builds dynamic WHERE clauses by populating fields on a plain Example object.
该项目是一个参考实现,为 Spring Data 生态系统中的数据访问模式和仓库抽象提供了大量实用示例。它作为一个全面的展示,用于在各种关系型和非关系型数据库中实现一致的数据层。 该仓库专门演示了通过在单个应用程序中集成关系型、文档型和向量数据库来实现多存储持久化。它包括用于管理高维嵌入和跨不同数据库技术的相似性搜索的向量搜索实现。 涵盖的其他功能包括用于非阻塞操作的响应式数据访问和异步数据流。该项目还提供了关于原生镜像优化的指导,以通过提前编译(AOT)提高启动性能和内存使用率。 这些示例进一步说明了多租户数据隔离、数据仓库 API 的设计以及地理空间和全文搜索的集成。
Generates dynamic database queries based on the state of a populated object instance.
GritQL is an AST-based code transformation engine and structural search tool. It uses a declarative query language to identify and rewrite source code patterns across multiple programming languages by matching abstract syntax tree nodes rather than literal text. The system functions as an automated refactoring framework for large-scale migrations and API updates. It distinguishes itself by utilizing sequential transformation pipelines and reusable blueprints that can be synced between local environments and remote repositories. The tool covers a broad range of capabilities including static a
Allows searching source code by providing an example code snippet as the query pattern.