database
database copied to clipboard
Lite & fast micro PHP database abstraction library that is **easy to use**.
### 🔖 Feature description The SQL adapter including Maria/MySQL/SQLite should support the Contains query. I.E. attribute LIKE '%something%' ### 🎤 Pitch Forgive me if I missed it somewhere, but I...
Closes https://github.com/appwrite/appwrite/issues/3980 https://github.com/utopia-php/database/issues/328 Raising a draft PR for now, for any initial comments and to track progress. I'll be documenting the PR well before sending for review. Thanks!
Database::VAR_ID Since some adapters primary key is a string and some is an int , we need a dynamic ID field per adapter
### 🔖 Feature description Adapter to support using AWS DynamoDB database. ### 🎤 Pitch - DynamoDB is one of the most common highly performant NoSQL database services. - Backed by...
Closes #285
We would like to changes in all _perms collection from using Varchar DocumentId => integer document id For better performance and shrinking the index resources. Since this is internal it...
### 🔖 Feature description This fields [auto generate](https://github.com/utopia-php/database/blob/main/src/Database/Database.php#L2530C48-L2530C48) on insert / [update](https://github.com/utopia-php/database/blob/main/src/Database/Database.php#L2857C9-L2858) It can be usefull to force them via `data` like ```json { ...otherFields, "$createdAt": "string or timestamp" }...
### 🔖 Feature description Adding the option to select **n** items as random. The implementation would look something like this ```php $documents = static::getDatabase()->find('movies', [ Query::random(), Query::limit(5), ]); ``` Or...
- Add Mirror (previously `ProxyDatabase`) implementation - Support single metadata document per collection per project