...
Notice that we directly used the ‘doc_id’ label in the WHERE clause.
Labels are necessary for the 4 types of queries needed when configuring your connector, please check the section about these queries in Database crawling simplified configuration documentation.