Skip to content

Commit c60cc50

Browse files
committed
Rewrite test cases with DynamoDB's official sample data.
Now we can run queries used in test cases against actual DynamoDB tables.
1 parent bd6aed9 commit c60cc50

File tree

2 files changed

+147
-96
lines changed

2 files changed

+147
-96
lines changed

src/Kitar/Dynamodb/Query/Builder.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,14 @@ public function where($column, $operator = null, $value = null, $boolean = 'and'
306306
return $this;
307307
}
308308

309+
/**
310+
* @inheritdoc
311+
*/
312+
public function orWhere($column, $operator = null, $value = null)
313+
{
314+
return $this->where($column, $operator, $value, 'or');
315+
}
316+
309317
/**
310318
* @inheritdoc
311319
*/

0 commit comments

Comments
 (0)