Operator nicht vorhanden: json = json

wenn ich versuche zu wählen Datensatz aus einer Tabelle

    SELECT * FROM movie_test WHERE tags = ('["dramatic","women", "political"]'::json)

Den sql-code werfen einen Fehler

LINE 1: SELECT * FROM movie_test WHERE tags = ('["dramatic","women",...
                                        ^
HINT:  No operator matches the given name and argument type(s). You might      need to add explicit type casts.

********** 错误 **********

ERROR: operator does not exist: json = json
SQL 状态: 42883
指导建议:No operator matches the given name and argument type(s). You might need to add explicit type casts.
字符:37

Hab ich was verpasst oder wo erfahre ich etwas über diesen Fehler.

InformationsquelleAutor Isaac | 2015-09-29

Schreibe einen Kommentar