Skip to content
This repository was 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

@polikeiji

Description

@polikeiji

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions