diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..064e248 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +tests/ export-ignore +.vscode/ export-ignore diff --git a/README.md b/README.md new file mode 100644 index 0000000..2e217fc --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Async ORM + +Async ORM based on amphp. + +Supports MySQL, Redis, Postgres. + +Features read and write-back caching, type-specific optimizations, and much more! \ No newline at end of file diff --git a/tests/TestObject.php b/tests/TestObject.php new file mode 100644 index 0000000..170d9a5 --- /dev/null +++ b/tests/TestObject.php @@ -0,0 +1,32 @@ +loadedCnt++; + } + protected function onAfterSave(): void + { + $this->saveAfterCnt++; + } + protected function onBeforeSave(): void + { + $this->saveBeforeCnt++; + } +}