Quantcast
Download
(37 Kb)
Download
Updated: 10-09-19 04:24 AM
Compatibility:
Visions of N'Zoth (8.3.0)
BfA content patch (8.2.5)
WoW Classic (1.13.2)
Rise of Azshara (8.2.0)
Updated:10-09-19 04:24 AM
Created:03-02-17 03:04 PM
Downloads:781
Favorites:2
MD5:
8.2.5

LibMayronDB

Version: 2.8
by: Mayron [More]

About LibMayronDB

  • A new lightweight database designed for smart use.
  • Originally created for MayronUI, but has been created for general use.
  • The framework is designed for World of Warcraft AddOn development and supports both Classic and Retail editions (just make sure that you update the toc version number appropriately for whichever edition you require it for).
  • 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.

There is a Test.lua file to see other working examples of how to use the Library!

Full Documentation

For the full maintained documentation, please refer to the GitHub homepage:

https://github.com/Mayron/LibMayronDB

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
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
2.5
34kB
Mayron
02-28-19 01:15 PM


Post A Reply Comment Options
Unread 10-09-19, 04:26 AM  
Mayron
A Frostmaul Preserver
 
Mayron's Avatar
AddOn Author - Click to view AddOns

Forum posts: 260
File comments: 1281
Uploads: 9
I have finally updated all documentation (including the new, previously undocumented features) in the form of a README which is hosted on GitHub. The link can be found on the wowinterface addon description, or here:

https://github.com/Mayron/LibMayronDB

I also recommend checking out the LibMayronObjects project as I recently did the same for that documentation which can be found here:

https://github.com/Mayron/LibMayronObjects
__________________
Visit the MayronUI Discord server to contribute towards our community and say hello!
I am usually much more active on discord so it's a good place to get in contact with me if I don't reply to you on wowinterface.
Last edited by Mayron : 10-09-19 at 04:27 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: