xtra

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

xtra

Some xtra useful datatypes. Currently in development.
Docs:
https://pub.dev/documentation/xtra/latest/
Implemented Datatypes:

XSet, emulates a database, holds collection of tables
XTable, emulates a database table
XColumn, used by XTable to represent Columns
XRow, used by XTable to represent Rows

Usage #
XSet xSet = XSet("MyXSet");

xSet.addXTable("MyXTable");

xSet.xTables["MyXTable"].addXColumn("Index", int, autoInc: true);
xSet.xTables["MyXTable"].addXColumn("First Name", String);
xSet.xTables["MyXTable"].addXColumn("Last Name", String);

xSet.xTables["MyXTable"].addXRow({"First Name": "John", "Last Name": "Doe"});

print(xSet.xTables["MyXTable"].xRows[0]); // {Index: 0, First Name: John, Last Name: Doe}
copied to clipboard
Additional information #
Currently maintained by Dorylinae Studios™
Contact: dorylinae.studios@gmail.com

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.