Scalien.Table.TruncateTable C# (CSharp) Method

TruncateTable() public method

Truncate the table. This means all key-values in the table are dropped.
public TruncateTable ( ) : void
return void
        public virtual void TruncateTable()
        {
            int status = scaliendb_client.SDBP_TruncateTable(client.cptr, tableID);
            client.CheckResultStatus(status);
        }

Usage Example

Example #1
0
        public void ResetTables()
        {
            indices.TruncateTable();
            table.TruncateTable();
            tableByNick.TruncateTable();
            tableByBirth.TruncateTable();
            tableByLastLogin.TruncateTable();

            userIDs.Reset();
        }
All Usage Examples Of Scalien.Table::TruncateTable