morebec / ydb Goto Github PK
View Code? Open in Web Editor NEWYDB is a simple PHP utility library to use Yaml files as a flat file database
License: MIT License
YDB is a simple PHP utility library to use Yaml files as a flat file database
License: MIT License
To indicate that a column can hold null value (make check on insert, and update)
This will allow having direct access to required services
To indicate the values of this column should always be unique
Implementation tips:
Add new column types for Date, Time, Datetime and Timestamp
Sometimes the record creation test fails.
Meaning it takes more than 1.5 seconds to insert 1000 records with the following schema:
$schema = new TableSchema($tableName, [
new Column('id', ColumnType::STRING(), true /* indexed */),
new Column('first_name', ColumnType::STRING()),
new Column('last_name', ColumnType::STRING()),
new Column('age', ColumnType::INTEGER()),
new Column('indexed_column', ColumnType::INTEGER(), true /* indexed */)
]);
It would be better for performane improvement debuging to change the assertions
to compare agains the delta rather than doing a assertTrue
That way in the tests result we would a more verbose output along the lines
of failed to assert that 1.67, is less than 1.5
So, in summary, we'd need to change assertTrue
to assertLessThan
Add char data type
Querying indexed data should be faster than non-indexed data, to prove that, we'd need to create a test that would create a table with two columns one indexed and one non-indexed.
Both columns would hold the same values for a big number of records.
The test would assert that the query to find one or multiple records should be faster than
on indexed column than on non-indexed columns.
This would allow logging file system accesses in a filesystem channel to monitor the number of filesystem accesses that are necessary to perform different tasks and try to minimize them when possible.
Include a migration system with console commands
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.