Type Script Modules for Google Apps Script that provides CRUD operation
npm install @ts-module-for-gas/gas-tableclasp.TypeScript
const Users = new Table('',123456);
Users.add({ name : 'John Smith', age : 20});const user = Users.get(1);
user.age = 21;
Users.update(user);
`Reference
$3
`TypeScript
import Table from '@ts-module-for-gas/gas-table';
`
$3
#### createTable(name: string, schema: string[] | Object)
* name Name of the spreadsheet which using as Table
* schema Example:
`TypeScript
const Users = Table.createTable('Users',)
``