Pix_Table_Db_Adapter_AmazonDynamoDb

package Table
copyright 2003-2012 PIXNET Digital Media Corporation
license BSD License

 Methods

__construct()

__construct() 

insert multiple rows

bulkInsert(\Pix_Table $table, array $keys, array $values_list, array $options) : void
Inherited

access public
inherited_from \Pix_Table_Db_Adapter_Abstract::bulkInsert()

Parameters

$table

\Pix_Table

$keys

array

columns

$values_list

array

values list

$options

array

options

deleteOne 在 DB 上刪掉 $row 的資料

deleteOne(\Pix_Table_Row $row) : void

access public

Parameters

fetch 取得符合 $search 條件的資料

fetch(\Pix_Table $table, \Pix_Table_Search $search, string | array $select_columns) : void

access public

Parameters

$table

\Pix_Table

$select_columns

stringarray

fetchOne 取得符合 $primary_values 的資料

fetchOne(\Pix_Table $table, array $primary_values) : array

access public

Parameters

$table

\Pix_Table

$primary_values

array

Returns

array| null

getSupportFeatures()

getSupportFeatures() 
Inherited

inherited_from \Pix_Table_Db_Adapter_Abstract::getSupportFeatures()

insertOne 在 $table 插入 $keys_values 資料

insertOne(\Pix_Table $table, array $keys_values) : null

access public

Parameters

$table

\Pix_Table

$keys_values

array

Returns

null(不支援 auto_increment)

support()

support($id) 
Inherited

inherited_from \Pix_Table_Db_Adapter_Abstract::support()

Parameters

$id

updateOne 從 db 上更新一個 $row 的 data

updateOne(\Pix_Table_Row $row, array $data) : void

access public

Parameters

$data

array