R
(17Kb)
Download
Updated: 12-22-20 01:16 PM
C
(17kB)
Download
Updated: 12-22-20 01:16 PM
Pictures
File Info
Compatibility:
Classic Patch (1.13.6)
Updated:12-22-20 01:16 PM
Created:03-02-17 03:04 PM
Downloads:1,672
Favorites:1
MD5:
Categories:Libraries, Developer Utilities

Pkg-MayronDB

Version: 3.0.1, Classic: 3.0.1-classic
by: Mayron [More]

About Pkg-MayronDB

  • A lightweight, embedded Lua database designed for storing addon settings and with built-in profile management.
  • Originally created for MayronUI, but has been refactored for general use.
  • The framework is designed for World of Warcraft AddOn development and supports both Classic and Retail editions.
  • Supports a defaults table and database table inheritance with many feature-rich helper functions.
  • The functions in the API are named the same as those found in the AceDB for developers to easily familiarise themselves with it. However, some functions support additional functionality.

⚫ What is the difference between AceDB and MayronDB?
A useful blog post discusses some of the key differences in detail:
mayronui.com/blog/post/what-is-the-difference-between-acedb-and-mayrondb
⚫ Full Documentation
For the full maintained documentation, please visit:
mayronui.com/p/pkg-mayron-db
⚫ Help and Support
For help and support, please visit the MayronUI discord server:
https://discord.gg/8Kh3maU
HOW TO SUPPORT THE PROJECT
1. Submitting feature requests, bug reports, or even contributing towards its development over on GitHub:



2. Getting involved by joining our active and growing Discord Community:



3. Becoming a Patron to gain exclusive benefits:



4. Donating through PayPal:



Thank you so much for your love and support!

2.8.1:
-- Supports multiple databases for a single addon.

2.1:
-- Changed everything to use LibMayronObjects

1.5.2:
-- Fixed parenting bug caused by database inheritance
-- Added Observer:HasParent() method

1.5.1:
-- Updated toc file and comments in LibMayronDB.lua

1.5:
-- Removed the db:Start() method.

1.4:
Changed the name of some API methods:
-- before: after:
-- db:PrintDefaultsTables -> db:PrintDefaults
-- db:AppendToSVTableOnce -> db:AppendOnce
-- Observer:GetMergedTable -> Observer:GetTable
-- Observer:RemoveFromSVTable -> Observer:Remove

1.3:
Added a Print method to the Observer object

1.2:
Added an "OnStart" method and removed the need to manually create a frame and handle the ADDON_LOADED event.
No longer need to start the db manually using db:Start(), however you can still use the old method if preferred.

1.1:
Simplified the AddToDefaults function.

1.0:
-- Added a CreateDatabase function to support multiple databases running from the same framework
There have been no comments posted to this file.
Be the first to add one.



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.