Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Call of select method of SimpleDB with ConsistentRead flag may not properly work. #52

Open
polikeiji opened this issue Feb 28, 2013 · 0 comments

Comments

@polikeiji
Copy link

The following code will not work with error message; "InvalidParameterValue: Value () for parameter ConsistentRead is invalid. The ConsistentRead flag should be either true or false".

$sdb = AmazonSDB();
$result = $sdb->select("select * from item", array(
    'ConsistentRead' => true,
);

The following code will work.

$sdb = AmazonSDB();
$result = $sdb->select("select * from item", array(
    'ConsistentRead' => 'true',
);

Is it proper behavior?
Is ConsistentRead flag string value not boolean value?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant