xtra 0.2.5 copy "xtra: ^0.2.5" to clipboard
xtra: ^0.2.5 copied to clipboard

Some xtra useful datatypes, currently XTable and XSet, a set of XTables are usable.

Dart

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.tables["MyXTable"].addXColumn("Index", int, autoInc: true);
xSet.tables["MyXTable"].addXColumn("First Name", String);
xSet.tables["MyXTable"].addXColumn("Last Name", String);

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

print(xSet.tables["MyXTable"].rows[0]);

Output: {Index: 0, First Name: John, Last Name: Doe}

Additional information #

Currently maintained by Dorylinae Studios™

Contact: dorylinae.studios@gmail.com

3
likes
160
pub points
0%
popularity

Publisher

unverified uploader

Some xtra useful datatypes, currently XTable and XSet, a set of XTables are usable.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

More

Packages that depend on xtra