{"action":"created","issue":{"url":"https://api.github.com/repos/coleifer/peewee/issues/533","labels_url":"https://api.github.com/repos/coleifer/peewee/issues/533/labels{/name}","comments_url":"https://api.github.com/repos/coleifer/peewee/issues/533/comments","events_url":"https://api.github.com/repos/coleifer/peewee/issues/533/events","html_url":"https://github.com/coleifer/peewee/issues/533","id":58495375,"number":533,"title":"ArrayField: contains_any returning 'A||'","user":{"login":"havannavar","id":1104650,"avatar_url":"https://avatars.githubusercontent.com/u/1104650?v=3","gravatar_id":"","url":"https://api.github.com/users/havannavar","html_url":"https://github.com/havannavar","followers_url":"https://api.github.com/users/havannavar/followers","following_url":"https://api.github.com/users/havannavar/following{/other_user}","gists_url":"https://api.github.com/users/havannavar/gists{/gist_id}","starred_url":"https://api.github.com/users/havannavar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/havannavar/subscriptions","organizations_url":"https://api.github.com/users/havannavar/orgs","repos_url":"https://api.github.com/users/havannavar/repos","events_url":"https://api.github.com/users/havannavar/events{/privacy}","received_events_url":"https://api.github.com/users/havannavar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-22T08:32:38Z","updated_at":"2015-02-23T15:03:23Z","closed_at":"2015-02-23T02:07:44Z","body":"Here is my Model\r\n\r\nclass BlogPost(BaseModel):\r\n    user = TextField()\r\n    content = TextField()\r\n    tags = ArrayField(TextField)\r\n\r\ndata in database is BlogPost(user='abc',content='awesome', tags=['foo', 'bar', 'baz'])\"\r\n\r\nand when i execute \r\nBlog.select().where(Blog.tags.contains_any('python', 'bar'))\r\n\r\nI always get an Error 'A||'\r\n\r\nAm i missing something here??"},"comment":{"url":"https://api.github.com/repos/coleifer/peewee/issues/comments/75557232","html_url":"https://github.com/coleifer/peewee/issues/533#issuecomment-75557232","issue_url":"https://api.github.com/repos/coleifer/peewee/issues/533","id":75557232,"user":{"login":"havannavar","id":1104650,"avatar_url":"https://avatars.githubusercontent.com/u/1104650?v=3","gravatar_id":"","url":"https://api.github.com/users/havannavar","html_url":"https://github.com/havannavar","followers_url":"https://api.github.com/users/havannavar/followers","following_url":"https://api.github.com/users/havannavar/following{/other_user}","gists_url":"https://api.github.com/users/havannavar/gists{/gist_id}","starred_url":"https://api.github.com/users/havannavar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/havannavar/subscriptions","organizations_url":"https://api.github.com/users/havannavar/orgs","repos_url":"https://api.github.com/users/havannavar/repos","events_url":"https://api.github.com/users/havannavar/events{/privacy}","received_events_url":"https://api.github.com/users/havannavar/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T15:03:23Z","updated_at":"2015-02-23T15:03:23Z","body":"class BlogPost(BaseModel):\r\n    title = TextField()\r\n    tags = ArrayField(TextField)\r\n    name = TextField()\r\n\r\ndef main():\r\n    db.create_tables([BlogPost], True)\r\n    BlogPost.delete().execute()\r\n    BlogPost.create(\r\n        title='awesome',\r\n        name='george',\r\n        tags=['foo', 'bar', 'baz'])\r\n    BlogPost.create(\r\n        title='bad',\r\n        name='george',\r\n        tags=['foo', 'bax', 'baz'])\r\n    BlogPost.select().where(name='george' and BlogPost.tags.contains_any('python', 'bar'))\r\n\r\nI m not calling .get(), i don't have an idea why there is LIMIT 1 on the query?\r\n\r\nI just tried \r\n\r\nBlogPost.select().where(name='george' and BlogPost.tags.contains_any('bar'))\r\n\r\nStill the same result"}}