Data Queries

Accessing Row Data

Get Row by Key

var itemTable = SheetDatabase.Load<ItemTable>("Items");

// Get row by key
var appleRow = itemTable.GetRow("apple");

Check if Row Exists

if (itemTable.ContainsRow("sword"))
{
    var swordRow = itemTable.GetRow("sword");
}

Reading Cell Values

Basic Types

var row = itemTable.GetRow("apple");

string name = row.GetString("Name_EN");
int price = row.GetInt("Price");
float weight = row.GetFloat("Weight");
bool stackable = row.GetBool("Stackable");

With Default Values

Enum Values

Iterating Rows

Get All Rows

Filter Rows

Column Information

Get Column Names

Check Column Exists

Advanced Queries

LINQ Queries

Custom Queries

Last updated