Postgresql Find Element In Array Python Definition