limzykenneth / dynamicrecord Goto Github PK
View Code? Open in Web Editor NEWA bare minimum Javascript implementation of the Active Record pattern
Home Page: https://dynamic-record.js.org
License: BSD 2-Clause "Simplified" License
A bare minimum Javascript implementation of the Active Record pattern
Home Page: https://dynamic-record.js.org
License: BSD 2-Clause "Simplified" License
Undo any steps already taken by createTable()
if it failed halfway through.
From inline notes:
// NOTE: potentially undo stuff that's done at this point (DynamicSchema: L212)
For storing JSON Schema
Either append to existing .env file or just provide environment variables that the user should set.
Autoincrementing field may have conflic with schema validation, needs unit tests to confirm and fixed if necessary.
From inline notes:
// NOTE: need some way to modify counters (?) or bypass schema check if none exist
JSDocs doesn't work with typescript.
Typedoc relies too much on the code instead of the inline documentation.
For interactive init prompts, don't ask for username, password, etc if it has already been provided by the URI.
Models created under DynamicCollection fetched by where
and all
don't have their _original
field set.
Fixing may introduce breaking changes to DynamicCollection constructor's API.
Without relying on cloneDeep in where
and all
.
Maybe this issue is not needed.
Each retrieved Model instances should have a handle that either points to the entry in database or a way to make sure it knows which entry it is definitely.
Current implementation prevents two Models being identical and could also cause problems when simultaneous update to the same entry happens (changing model.data
while model.save()
is still running).
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.