Go Advanced Admin Panel Documentation Help

ORM

Welcome to the ORM Integrations section of our Advanced Admin Panel documentation. Here, you'll find detailed guides on how to integrate the admin panel with various Object-Relational Mapping (ORM) libraries. Each guide includes instructions on configuration, model registration, and querying/filtering data specific to each ORM.

If you're new and want to get started quickly, please refer to our Quick Start Guides. For any ORMs not listed here, or if you'd like to contribute, please visit our Contributions page.

Supported ORM Integrations

We currently support the following ORMs:

GORM

GORM is a widely used ORM library for Go, offering a comprehensive set of features and excellent documentation.

  • Guide: GORM Integration

    • Sections Covered:

      • Configuration

      • Model Registration

      • Querying and Filtering Data

XORM

XORM is a simple and powerful ORM for Go, emphasizing ease of use and performance.

  • Guide: XORM Integration (coming soon)

    • Sections Covered:

      • Configuration

      • Model Registration

      • Querying and Filtering Data

SQLX

SQLX provides extensions on Go's standard database/sql library, offering a robust set of tools for database interactions without an ORM layer.

  • Guide: SQLX Integration (coming soon)

    • Sections Covered:

      • Configuration

      • Model Registration

      • Querying and Filtering Data

Bun

Bun is a fast and simple SQL query builder and ORM for Go, designed for performance and ease of use.

  • Guide: Bun Integration (coming soon)

    • Sections Covered:

      • Configuration

      • Model Registration

      • Querying and Filtering Data

We are continually expanding support for more ORMs. If your preferred ORM is not listed above, please check the following page:

Building a Custom ORM Integration

If the ORM you're using is not currently supported, you can build a custom integration by implementing the required interfaces provided by the admin panel. Our comprehensive guide will walk you through the process.

Steps Overview

  1. Implementing the Required Interface:

    • Understand the methods your ORM needs to implement.

    • Learn how to map your ORM's functionalities to the admin panel's expectations.

  2. Handling Database Interactions:

    • Configure your ORM to interact seamlessly with the admin panel.

    • Manage connections, transactions, and error handling.

  3. Registering the Custom ORM:

    • Integrate your custom ORM with the admin panel.

    • Ensure your models and data are correctly recognized and managed.

Contribute and Request Features

We value community contributions and are always looking to support more ORMs. If you need an integration that's not currently available or have built a custom integration you'd like to share, please visit our Contributions page.

How You Can Help:

  • Submit a Feature Request:

    • Let us know which ORM you'd like to see supported next.

    • Provide any specifics that could help us prioritize and implement the integration.

  • Contribute Your Integration:

    • Share your custom ORM integration with the community.

    • Collaborate with maintainers to ensure it meets project standards.

  • Enhance Existing Integrations:

    • Help improve documentation, fix bugs, or add features to current ORM integrations.

    • Engage with other developers to make our tools better for everyone.

Getting Help

If you encounter any issues or have questions while integrating your ORM, please don't hesitate to reach out:

We are here to assist you and appreciate any feedback that can help improve our documentation and tools.

Last modified: 07 October 2024