7imon7ays / goodel Goto Github PK
View Code? Open in Web Editor NEWAn ORM for Google Apps scripts
An ORM for Google Apps scripts
Enable var model = new Model({ foo: 'bar' })
instantiation.
Would be pretty cool for models to have association methods across tables. Add primary keys and use a VLOOKUP for the join.
The mentioned script ID MX4a...D1Xq
cannot be found.
Is it dead?..
etc.
Should be able to call model.update({ foo: "bar", baz: null }) and model.destroy(). Both require models to track what row they're in.
To reproduce the behavior of a regular spreadsheet, Model#destroy should remove the entire row. This has the side-effect of changing the row number of every record with a greater row number.
Possible solutions:
Option 3 looks best.
** Not a bad idea to have an "archive" instance method. Opened #8.
https://spreadsheets.google.com/feeds/list/SHEET_ID/od6/public/full?alt=json returns a JSON string of a spreadsheet if the sheet is published. Relevant paths seems to be
root["feed"]["entry"][i]["title"]
and
root["feed"]["entry"][i]["content"]
Where i
is the record's row index. The title
key points to the value in row i
, column A, content
maps the names of the columns to the right of A with the corresponding cells in row i
, under the format
"column_i_name: cell_i_value, column_i+1_name: cell_i+1_value"
Probably faster for read operations. Doesn't allow write operations.
etc.
Right now Godel expects the table to extend from cell A1. It should take take optional cell coordinates so that the user can set his/her table anywhere in the sheet.
Count the number of rows in a table using the COUNT formula if the table has over 20 rows.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.