xorm is a simple and powerful Go language ORM library, through which database operations can be made very easy. This library is a customized and enhanced version based on the original xorm, which provides xorm with ibatis-like configuration files and dynamic SQL support, and supports ActiveRecord operations. This library is based on the customized and enhanced version of the original xorm. Since this customized version has third-party library dependencies (the original version of xorm does not have any third-party library dependencies), the original version of xorm must maintain The third-party library has zero dependencies, so I had to open this Github library separately. The relevant customization functions of this library are developed to solve simpler complex SQL calls and some special business requirements scenarios. The core functions of this customized version of ORM are consistent with the original version, and will be updated with the original version of xorm.

Features

  • Support flexible mapping between Struct and database tables, and support automatic synchronization
  • Transaction support, support nested transactions (support JAVA Spring-like transaction propagation mechanism)
  • Supports mixed execution of raw SQL statements and ORM operations at the same time
  • Use ligatures to simplify calls
  • Supports using Id, In, Where, Limit, Join, Having, Table, Sql, Cols and other functions and structures as conditions
  • Support cascade loading of Struct
  • Support dynamic SQL function

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow xorm

xorm Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of xorm!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Libraries, Go Object-Relational Mapping (ORM) Software

Registered

2023-01-30