Compare commits

..

No commits in common. "ac78d3718c6973af9ae68f5bea57ded4f971e1de" and "a10ecbb1cdfdf6dd8ab3c1884b09d9ba987b7ff5" have entirely different histories.

4 changed files with 3 additions and 33 deletions

4
.gitattributes vendored
View File

@ -1,4 +0,0 @@
.gitignore export-ignore
.gitattributes export-ignore
composer.lock export-ignore
tests/**/* export-ignore

View File

@ -1,11 +1,3 @@
# PDODocument
# pdo-document
This library allows SQLite (and, by v1.0.0-beta1, PostgreSQL) to be treated as a document database. It is a PHP implementation of the .NET [BitBadger.Documents](https://git.bitbadger.solutions/bit-badger/BitBadger.Documents) library.
## Add via Composer
`compose require bit-badger/pdo-document`
## Usage
Documentation for this library is not complete; however, its structure is very similar to the .NET version, so [its documentation will help](https://bitbadger.solutions/open-source/relational-documents/basic-usage.html) until its project specific documentation is developed. Things like `Count.All()` become `Count::all`, and all the `byField` operations are named `byFields` and take an array of fields.
Bit Badger Documents PHP implementation with PDO

View File

@ -1,23 +1,6 @@
{
"name": "bit-badger/pdo-document",
"description": "Treat SQLite (and soon PostgreSQL) as a document store",
"keywords": ["database", "document", "sqlite", "pdo"],
"license": "MIT",
"authors": [
{
"name": "Daniel J. Summers",
"email": "daniel@bitbadger.solutions",
"homepage": "https://bitbadger.solutions",
"role": "Developer"
}
],
"support": {
"email": "daniel@bitbadger.solutions",
"source": "https://git.bitbadger.solutions/bit-badger/pdo-document",
"rss": "https://git.bitbadger.solutions/bit-badger/pdo-document.rss"
},
"require": {
"php": ">=8.3",
"netresearch/jsonmapper": "^4",
"ext-pdo": "*"
},

3
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "ca79f450e8e715ad61ba3581734c0fe7",
"content-hash": "eada4b7eb6f976e0aaf0b54b92e2ca32",
"packages": [
{
"name": "netresearch/jsonmapper",
@ -1697,7 +1697,6 @@
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
"php": ">=8.3",
"ext-pdo": "*"
},
"platform-dev": [],