core
core copied to clipboard
All of the required core code
I lost too many hours to understand that error... basically the query weren't working because the Schema class it wasn't executed. https://github.com/berlindb/core/blob/master/src/Database/Query.php#L401 on this line if the class doesn't exists...
Ref: https://github.com/berlindb/core/issues/26 For an example to test it https://github.com/Mte90/berlindb-rest/ I will update the example when will be merged https://github.com/berlindb/wordpress-example
See: https://dev.mysql.com/doc/refman/8.0/en/optimizer-hints.html
Work in progress!
```bash composer require --dev wp-coding-standards/wpcs dealerdirect/phpcodesniffer-composer-installer composer exec -- phpcs --standard=WordPress-Core src/ -s --exclude=WordPress.Files.FileName,WordPress.CodeAnalysis.AssignmentInCondition,Squiz.PHP.DisallowMultipleAssignments ``` These can be automatically fixed by `phpcbf`.
Hi all I've been chatting to @JJJ via email regarding a baked-in REST / GraphQL API for BerlinDB and I figure it makes sense to open an issue for it....
Hey JJJ, My developer was wondering if you have any documentation to help implement this in our own plugins? Cheers
* Traits * Parsers (yuck) * Operators (yuck) A bunch of things are broken here.
It would be cool to support rollbacks, kind of like Laravel does. For each table upgrade, you'd also write a rollback so you can go forward and go backwards to...
See: https://twitter.com/jrf_nl/status/1459221549429542920 The `Table` class of Berlin adds properties directly to the `$wpdb` global object in WordPress. Needs testing & research.