Skip to content

Commit

Permalink
Merge pull request #58 from zzhengg/patch-1
Browse files Browse the repository at this point in the history
Fixed JSON_GET_TEXT to accept a value argument
  • Loading branch information
Hikariii authored Feb 7, 2020
2 parents 3450288 + 7fab2fb commit 6cab3f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Query/AST/Functions/Postgresql/JsonGetText.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class JsonGetText extends PostgresqlJsonOperatorFunctionNode
public const OPERATOR = '->>';

/** @var string[] */
protected $requiredArgumentTypes = [self::STRING_PRIMARY_ARG, self::ALPHA_NUMERIC];
protected $requiredArgumentTypes = [self::STRING_PRIMARY_ARG, self::VALUE_ARG];
}

0 comments on commit 6cab3f9

Please sign in to comment.