Google\Cloud\Tests\System\Datastore\RunQueryTest::testGqlQueryWithLiteral PHP 메소드

testGqlQueryWithLiteral() 공개 메소드

    public function testGqlQueryWithLiteral()
    {
        $query = self::$client->gqlQuery("SELECT * From Person WHERE lastName = 'McAllen'", ['allowLiterals' => true]);
        $results = $this->runQueryAndSortResults($query);
        $this->assertEquals(self::$data[2], $results[0]->get());
        $this->assertEquals(1, count($results));
    }