Download the PHP package urbanindo/yii2-dynamodb without Composer
On this page you can find all versions of the php package urbanindo/yii2-dynamodb. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download urbanindo/yii2-dynamodb
More information about urbanindo/yii2-dynamodb
Files in urbanindo/yii2-dynamodb
Download urbanindo/yii2-dynamodb
More information about urbanindo/yii2-dynamodb
Files in urbanindo/yii2-dynamodb
Vendor urbanindo
Package yii2-dynamodb
Short Description DynamoDB extensions for Yii2
License BSD License
Package yii2-dynamodb
Short Description DynamoDB extensions for Yii2
License BSD License
Please rate this library. Is it a good library?
Informations about the package yii2-dynamodb
DynamoDB extensions for Yii2
This is a DynamoDB extension for Yii2
Requirement
This extension requires
- PHP minimum 7.0 and before 7.2 (Upgrade is still underwork)
- Yii2 minimum 2.0.13 and lesser than 2.1
- AWS PHP SDK 3.28
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Setting Up
After the installation, sets the dynamodb
component in the config.
Limitation
Because DynamoDB have different behavior from MySQL, there are several limitations or behavior change applied. There are several method to get data from DynamoDB: GetItem, BatchGetItem, Scan, and Query.
- We have tried to implement automatic method to acquire model from Query. You should assign method explicitly if you want to force the method to use.
- Not yet support attribute name aliasing (In MySQL known as field aliasing).
- When using Query method, where condition just support filter by key attributes. In next roll out we will add filtering with non key attributes.
- To make pagination, we forcedly using Query method when WHERE condition is set. Because if you use filtering with non key attribute, it is possible the model result(s) will less than desired limit value.
indexBy
andorderBy
cannot use with attribute string value or callable parameter. This will use as string value and assign toIndexName
parameter in DynamoDB. To use sorting, this will forcedly use QUERY method andorderBy
parameter should be either['myIndex' => 'ASC']
or['myIndex', 'DESC']
and key condition expression should be defined.- Not support NULL and any kind of set attribute type.
- Not support attribute aliasing belong to Reserve Keywords, which means all attributes do not using any Reserve Keywords.
- When use LinkPager, do not forget use ActiveDataProvider from this package. When the pagination pass into any kind of Widget View, several components maybe unsupported like SerialColumn, unnecessary total items in summary, and sorting.
All versions of yii2-dynamodb with dependencies
PHP Build Version
Package Version
The package urbanindo/yii2-dynamodb contains the following files
Loading the files please wait ....