diff --git a/entc/gen/internal/bindata.go b/entc/gen/internal/bindata.go index e316e3c3e..901e08769 100644 --- a/entc/gen/internal/bindata.go +++ b/entc/gen/internal/bindata.go @@ -179,7 +179,7 @@ func templateBuilderDeleteTmpl() (*asset, error) { return a, nil } -var _templateBuilderQueryTmpl = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x5b\x6d\x8f\xdb\x36\x12\xfe\x6c\xff\x8a\xa9\xe1\x2e\xec\xc0\xa1\x37\xf9\x76\x3e\xec\x01\xdb\x6c\x72\x30\xd0\x4b\xef\x92\x02\x57\x20\x08\x5a\xad\x34\xb2\xd9\xd0\xa4\x4a\x52\xde\x5d\xf8\xfc\xdf\x0f\x7c\x91\x44\xbd\x78\x57\x76\xdc\x24\xe8\xa7\xb5\x24\x72\x38\x1c\x3e\xf3\x70\xc8\x99\xdd\xed\xe6\xcf\x86\xaf\x44\xf6\x20\xe9\x6a\xad\xe1\xe5\xe5\x8b\xbf\x3d\xcf\x24\x2a\xe4\x1a\xde\x44\x31\xde\x0a\xf1\x09\x96\x3c\x26\x70\xcd\x18\xd8\x46\x0a\xcc\x77\xb9\xc5\x84\x0c\x7f\x5e\x53\x05\x4a\xe4\x32\x46\x88\x45\x82\x40\x15\x30\x1a\x23\x57\x98\x40\xce\x13\x94\xa0\xd7\x08\xd7\x59\x14\xaf\x11\x5e\x92\xcb\xe2\x2b\xa4\x22\xe7\xc9\x90\x72\xfb\xfd\xc7\xe5\xab\xd7\x6f\xdf\xbf\x86\x94\x32\x04\xff\x4e\x0a\xa1\x21\xa1\x12\x63\x2d\xe4\x03\x88\x14\x74\x30\x98\x96\x88\x64\xf8\x6c\xbe\xdf\x0f\x87\xbb\x1d\x24\x98\x52\x8e\x30\xfa\x23\x47\xf9\x30\x82\xfd\xde\xbc\x1c\x67\x9f\x56\xb0\xb8\x82\xdb\x48\x21\x8c\xc9\x2b\xc1\x53\xba\x22\xff\x8e\xe2\x4f\xd1\x0a\xc1\xf7\xd4\xb8\xc9\x58\xa4\x11\x46\x6b\x8c\x12\x94\x23\x18\xb7\x3f\xd1\x4d\x26\xa4\x0e\x3e\x8d\x6f\x73\xca\xcc\xec\x16\x57\x90\x49\xca\x35\x4c\xb2\x48\xc5\x11\x83\x31\x79\x1b\x6d\x70\x0a\xa3\xff\xd4\x54\x91\x18\x23\xdd\xba\x0e\xe5\xef\x52\x8a\x91\x3a\x9f\x43\x28\x78\xbf\x37\xb6\x34\x86\x28\xde\xa4\x42\x82\x9d\x1f\xe5\x2b\xd3\xb4\x36\xa0\x69\x8f\x5c\x53\x4d\x51\x91\xa1\x7e\xc8\xb0\x29\x4d\x69\x99\xc7\x1a\x76\xc3\x41\x6c\x0d\x31\x1c\x30\xba\xa1\x7a\x30\x78\x46\xb9\x1e\x0e\x44\x9a\x2a\xac\x9e\x64\x82\x72\x30\xf8\xf0\xf1\x27\xf3\x63\x38\xc8\x39\xfd\x23\x47\xf3\x42\x69\x49\xf9\x6a\x38\xc8\x24\x26\x34\x8e\x34\x2a\x18\x7c\xf8\x58\x3e\x11\x33\x6a\xa1\xd1\x70\x30\x9f\x03\xe5\x1a\xe5\x06\x13\x6a\x2c\x69\xf4\xb7\x1a\x0e\x76\xbb\xe7\x20\x23\xbe\x42\x18\xff\x3a\x83\xb1\xd2\x42\x9a\x55\x59\x5c\xc1\x98\xbc\xf7\x0f\x46\xc2\xc0\x08\x54\xe5\x0b\x08\x1e\xc9\x0f\x6e\x76\xa6\x99\x11\x87\x3c\x31\x5d\x9c\x2d\xff\xbb\x46\x89\x10\x25\x89\x82\x08\x38\xde\x41\xa9\xa2\x35\x64\x60\x58\x32\x4c\x73\x1e\xc3\xa4\xb6\x4c\xfb\x3d\x3c\xab\x1b\x70\xea\x44\x4e\x32\x05\x84\x90\xee\x09\x4f\x9b\x9d\x8c\xb9\x43\xb9\xfb\x3d\x09\x0c\x77\x05\x51\x96\x21\x4f\x9a\x43\x07\x6d\x66\x90\x29\x42\xc8\x74\x38\x90\xa8\x73\xc9\xa1\xd1\xd4\xcf\xf6\x47\xb3\x94\xc5\x6c\xed\xba\x82\xd2\x98\x81\x16\x76\xa6\x16\x36\xbd\xe7\x69\x85\x4d\x9c\x14\xca\xf5\x93\x93\x32\x1a\xbb\xd6\x57\x70\x61\x7f\x3c\xa1\xed\x4f\x16\x6b\x5e\x5d\x0e\x0e\x7a\x9f\xa1\xb0\x93\x37\xf1\x72\xfa\xaa\xec\x9b\x5f\xc1\x85\xfb\xf5\x94\xd2\xc6\x13\x2a\x9d\xed\xd3\x67\xa8\x6c\xfa\x4f\x84\x81\x92\xfd\xd9\x4f\x63\x3b\xe8\x41\xd4\xd8\xcf\x33\x10\x4f\xe1\xc5\x70\xbe\x23\x53\x4b\xd9\xeb\x48\x81\xa2\x1b\xca\x22\x49\xf5\x03\xdc\x51\xbd\x06\x4c\x56\xa5\xb3\x1a\x42\x8e\x19\x45\xae\x89\xde\x64\x0c\x2c\xe9\xee\x76\xa1\xf7\x7a\xbf\x7d\x9d\xac\x50\x81\x73\x47\x18\x1b\x19\xbf\x1e\xe6\x49\x24\x3f\x3f\x64\xd8\x66\x4b\xc3\x19\xf6\x29\xa0\x38\x2c\x39\x2e\x5e\x47\x94\x3b\x5e\x8c\x73\x29\xcd\x36\x65\x0d\x0f\xc2\xed\x1a\x76\xe0\x8a\x11\x93\x15\x92\xe1\xa0\xe7\x9a\x1c\x1c\x75\xe2\x57\xa7\x36\x23\xb7\x44\x03\x37\xfa\xe2\x0a\x2e\x3a\x5a\xec\x1c\xd5\x2e\x9a\xab\x40\xdc\x7b\x47\x6f\xcf\x81\xa6\x30\x26\xff\xca\x99\xa6\x35\xe6\x1b\xa8\x3b\xaa\xe3\x75\xab\x73\x22\xcd\x2f\x72\x43\x23\x86\xb1\x9e\x4c\xad\x1e\xbd\x08\xf5\xb9\x93\x1b\x9b\x0d\x71\xb7\x83\xdf\x05\xe5\x15\x9b\x7a\x79\x0a\x46\x33\x30\x2b\xb1\x30\x4d\xad\x58\x07\x89\x7b\x6d\x08\x76\x0c\xa3\x77\x5e\x97\x51\xa0\xd6\xc8\xac\xfd\xc8\x20\xc1\x8f\xe1\x88\xdb\x02\xa6\x58\xfb\x14\x46\x89\x1b\x63\xfe\xbd\x9a\x5b\xc3\xcd\xb3\x48\xaf\x47\x21\xc1\x17\x7d\x9f\xc3\x7d\xb9\xff\x3a\x31\xa4\x14\xbd\xdb\x59\xae\xf7\x8f\xf5\x27\xbf\x65\x20\x53\x85\xb4\x93\x67\x70\xc4\x04\x26\x94\x27\x78\x1f\x58\xfa\x72\x0a\xa5\x94\xae\xa9\x54\xaa\x55\xba\xd7\x9f\xbc\xff\xda\x51\x86\x03\xeb\x71\x7e\x83\x33\x6c\xf4\x86\x4a\xa5\xc1\xb5\x71\xee\x90\xda\x37\xe1\x6e\xe4\x02\x82\x87\x22\xa0\x72\x04\x05\xef\x7c\x9f\x67\xaf\xa5\x7c\x2b\xf4\x1b\x13\x87\xc1\xdd\x1a\x39\x70\x61\xba\x33\x71\x67\x42\x93\x52\xc8\x5d\xa4\x5c\xb0\xd6\x9b\xdb\xac\x6e\x93\x58\xdf\x43\x2c\xb8\xc6\x7b\x6d\x42\x2f\xf3\x77\x0a\x93\x67\xa1\x82\x33\x40\x29\x85\x9c\x7a\xae\xcb\x58\x2e\x6d\x40\xf3\xae\x92\x6e\x9b\x98\x05\x68\x3a\x81\xdb\xa4\x5e\x4c\xc9\x35\x63\x66\xac\xe9\x70\x40\x53\xdb\xf8\xbb\x2b\xe0\x94\x59\xa7\xf0\x36\xe4\x94\x59\x39\xc6\x8c\xa6\x15\x43\x3e\x39\x30\xde\x14\xae\xae\xe0\xb2\xd5\xf9\x22\x30\xd6\xce\x19\xb9\x8a\x23\xc9\x8f\xd1\x2d\xb2\xbd\x95\x5e\xb1\x6e\x97\xf4\x0f\x97\x1f\x67\x46\xe0\x30\x58\xc4\x5f\x5c\xcc\xfc\x09\xdd\xe3\x0c\x6e\x73\x0d\x59\xc4\x69\xac\x0c\x31\x44\xdc\x19\x09\x44\x1c\xe7\x52\x1d\xb7\x08\xbf\x74\xaf\x42\x6d\x11\x8a\x8d\xa6\x97\xd5\xcb\xa5\x6d\x99\xfb\xe2\x02\xbe\x5b\xaa\xc2\x46\x13\x94\x6e\x59\x07\x76\x26\xf6\xb1\x61\x9f\xda\x80\xa1\x41\x96\x37\x4f\xe1\x9a\x26\xc7\x60\x9a\x26\xa7\x62\x78\x79\x73\x00\xc5\x34\x71\x0a\x2d\x6f\xec\x26\x56\x5a\xac\x82\xf3\x36\x92\x40\x13\x05\x1f\x3e\x36\x1a\x5a\xbb\xd1\x44\xb9\x0e\x8f\xe0\x7a\x79\xa3\xac\xa1\xff\xde\x0d\xea\x10\xcb\x34\x51\x01\x6e\x9d\xdc\x7e\x88\x0d\x85\xf9\xa5\xa1\x89\xea\x84\xe9\xf2\xa6\x0e\xd4\xe5\xcd\x79\xa1\x7a\xc8\xd8\x0d\xfb\x99\x29\xd2\xe4\x71\x80\x3a\x51\x9f\x09\x51\x9a\x14\x81\x1f\x67\x0f\x35\x44\x0a\xf3\xe2\x29\xa2\x9d\x95\x5d\x4a\xb3\xd0\x14\xb8\xd0\x80\xf7\x51\xac\x99\x89\x58\xb0\xe8\x68\xf0\xe9\x9a\x63\x7f\x88\x1a\xbd\xbe\x0c\xcb\xbe\x3c\x9e\x65\x7d\xe8\xf2\x28\xd3\x9a\xa3\xa8\x89\x44\x5e\x2c\x2a\x21\x4f\x11\xa7\xeb\x71\xb9\x38\x89\x9f\x13\x4c\xa3\x9c\xe9\x03\x9d\xdf\x53\xbe\xca\x59\x24\x1f\xe3\xf7\x0a\x11\x15\x6d\x9b\xa7\x73\xb9\x82\x95\x7c\x6e\xd2\x2e\x80\xd2\xb9\x78\x47\xf1\xb3\x91\xd4\xa0\xe7\xb6\x33\x34\xd8\xb9\x9f\x23\x78\x92\x3e\xc9\x09\xbe\x1e\x4d\xbf\xec\x47\xd3\x81\x33\x58\xaa\xae\x01\x9f\x26\x70\xe5\x49\x37\x44\xf7\x31\x2c\x1e\xe0\xba\xd6\xad\x0f\xa2\x0b\x3d\x03\x64\x07\x4c\xef\xcc\x7b\x56\x74\x9f\x87\xe7\xab\x75\x3f\x02\xd5\x25\xa5\x5f\x33\x06\x78\x8f\x71\xae\x51\x55\x48\x85\x88\x27\x15\x58\x81\x51\xa5\x41\xa4\x35\x4a\xf2\x18\xef\x3d\x63\x4f\x9b\x1d\xd8\xfc\xf0\xf1\x11\x92\x3e\x78\x24\x3c\xe6\x44\xd8\xfb\x86\xed\x88\xe3\x60\xf7\xa5\x02\xa9\xdf\xd1\x55\x7b\x45\x78\x2d\x37\x08\x61\xda\xdc\x33\x84\x54\xe4\x2d\xde\x4d\x46\xc5\xb5\xed\x7e\xbf\x80\x9c\xab\x3c\xcb\x84\xd4\x98\x80\x3f\x77\x8d\x8c\xd0\xe2\xba\xaf\x3c\xe2\x1d\xd6\xaa\x75\x2c\xab\xa9\xd7\xba\x34\xbc\x66\xac\xe2\xf5\x6b\xc6\xce\x05\x7c\x23\xb7\x1b\x07\x0d\x18\x9c\xb2\x47\x3f\xb6\x35\x1f\x64\xf7\xae\x11\xbc\x11\x96\x37\xea\x28\xe7\x08\x99\xbf\xbf\x49\x3c\x6f\x76\x7a\x46\x17\x69\x7b\xdf\xf0\x53\xec\x30\xc3\x7b\xb4\xd8\x6f\x32\xdd\x1b\x8a\x2c\x59\xde\x4c\xc9\xfb\x38\xe2\x66\xc4\x19\x5c\x18\x12\x3e\xc0\xd7\xf5\x28\xa6\x0a\x89\xc3\x78\x78\x79\xa3\x2a\x94\x2c\x6f\xd4\xb9\x50\x62\xe4\x1e\x42\x49\x27\x3b\xaa\x83\x98\x28\x76\xa5\x63\xb8\x51\xf9\xe9\xbd\x12\x39\xaf\x5f\x2d\xc4\xf6\x8d\xcd\xc0\x20\xac\xe8\x16\xf9\x91\xb7\x9d\x56\xe4\xa1\x4d\x9a\xeb\xbf\x12\xf9\x95\x53\xed\x43\x7f\x97\x5f\x9c\xfc\x42\xf5\x5a\xf4\x67\x3f\x56\xd0\xb6\x8f\xe7\x02\xb7\x93\xdd\x8d\x01\xca\x7d\x5e\x2a\xf7\x58\xe8\x82\x74\xa8\x79\x5f\x50\x5b\x89\x7e\x72\xaf\xef\x69\x78\x63\x26\x73\x34\xd3\xa9\xf8\x6d\x1d\x29\x40\x86\x1b\xe4\x5a\x15\x01\xec\x4a\x46\xd9\xba\xf7\x14\xed\x08\x07\x50\x7e\x2b\x04\xfb\x2b\xc1\xbc\x9c\x6b\x1f\x98\xa7\x11\x53\xf8\xc5\xa1\x1e\xaa\xd8\x82\xba\xfd\x58\x41\xdd\x3e\x9e\x0b\xea\x4e\x76\x37\x10\x0c\x0e\xcc\xca\xa1\x1b\xf0\x00\xd6\x43\xd5\xfb\x62\xdd\x4a\x2c\x1c\x99\x99\x33\x55\xb5\x5b\x27\x79\xc6\x5c\xee\x53\x84\x90\xf7\x4a\xcf\x80\xf2\x98\xe5\x09\xe5\x2b\x88\x18\x83\x48\x29\x11\xd3\xc8\x2c\x87\xd2\x98\x29\x02\x4b\x0d\x71\xc4\xe1\x16\x8d\xf0\x5c\x61\x02\x5a\x40\x26\x31\x8b\xa4\xd9\x1d\x36\x1b\xc1\xeb\x22\x95\x0d\x17\x72\x85\x66\xb4\x0d\x24\x34\x4d\x51\x22\x37\xa7\xbd\x28\xd5\xbe\x2a\x20\xb6\x5a\x52\x05\x9b\x28\xc1\xfe\x44\x62\x7a\x4d\x3a\xf3\x65\xde\x12\x17\xf5\x2f\xc6\x64\x45\x1e\xa6\x95\x52\x73\x1f\x66\xc3\x81\xcb\x86\x2f\x60\xd0\x9d\xda\x34\x2d\x5c\x9a\xb0\x43\x88\xfb\x60\x9b\xc8\x04\xa5\x11\xe2\x53\x74\x3e\x81\xbe\xdb\xcf\x5a\x6b\x6c\x9b\x12\x42\xa6\xa6\x9f\xcb\xaf\x2f\xa0\xea\xe7\xf2\xec\x5d\x1d\x5d\xdb\xa2\x67\x95\x2a\x5e\x40\xd9\xb9\x3b\x3b\xdd\x25\xac\xea\x5e\x08\x9c\xcf\x8b\x85\xe9\x4e\xdc\xf7\xe7\x9c\x46\xea\xbe\x9d\x05\xab\x7f\x27\x7e\x65\x67\x0d\x46\xf1\x39\x4b\x18\xaf\xa4\xc8\xb3\x1f\x82\x84\x62\xad\x00\xe2\x7f\x65\x8e\xe6\x7b\xf5\x4f\xdb\xd2\xe5\x13\x0d\x64\xfd\x73\x09\x5d\x2b\x09\xb6\x28\x35\x8d\x51\xc1\xad\xbb\x83\x10\x12\x36\x42\x22\xa4\x26\x64\x54\xf3\x58\xb0\x7c\xc3\x15\xb1\x21\x9f\x36\x38\x15\xa9\x46\xee\x84\xd8\x84\x52\xb4\x5a\x49\x5c\xd9\x92\x82\x9c\xc7\x9a\x0a\xae\x66\x96\x4f\x16\x25\xd5\x4e\x3e\xe1\x83\xaa\x1a\x4e\x0b\xa6\x25\xc3\x32\x2d\xc5\x90\xc3\xd8\xc5\xa9\xca\x95\x8b\x3c\x87\x71\x6a\x26\x58\xb0\x9a\xff\x66\x48\x6d\x38\x9f\x3b\xfa\x8a\x36\x19\xc3\x85\x7b\xb4\xd7\x18\x5b\xb0\xa0\x71\x35\x1e\xf3\xb9\xb3\x7e\x4a\xde\xdb\x57\x56\x42\x51\x3e\x91\x96\x51\xe4\x6f\x61\x9b\x9f\x23\x43\xc7\xbf\xd9\xbe\x2e\x06\x34\xfb\xf2\x6f\xbf\x2b\xc1\x17\x23\xb7\x37\x8b\x0d\xd5\xb8\xc9\xf4\xc3\xc8\x36\xf3\xda\x0c\x7c\x76\xb8\xa3\x26\x85\xd8\x9c\xea\x64\x4a\xac\x54\xbf\x0c\xad\x18\xdd\x69\xf1\x4a\x70\xa5\x23\xae\x8d\x97\xbb\xf6\xd7\x85\xd9\x26\xd5\x76\xe1\xe3\x80\xa9\x6f\x12\x44\xf5\xdb\xa9\x51\x27\x40\x4e\x4f\x42\x29\xb4\xb2\xcb\x0e\xce\xef\x66\x1e\x04\x40\x08\x71\x6f\x3c\xe1\xd4\x30\xe8\x58\xc7\x81\xa9\xc8\x00\x37\x1a\x3c\x9d\x01\xb6\x1d\x88\x1f\xee\x0a\x9a\x04\x60\x3f\xec\x0b\x7d\x5c\x6a\xff\x1b\x0e\x1e\xdc\x6c\xea\x8e\xdd\x71\x7d\x56\x6f\xe0\x41\xd2\x8c\x24\x5a\xfb\x7f\x29\xbc\x6b\xbb\xef\x1e\xa5\xab\x65\x39\x5c\x38\x9a\xdf\x3b\xec\x10\x05\xe1\x28\x7b\xa4\xec\xc5\x38\xee\xf4\x59\x12\x8e\x7b\xec\x60\x15\x48\xa5\xd8\xb4\xcf\x51\xdf\x32\x19\x1c\xeb\xe5\x07\x0e\xe2\x87\x9c\xfc\x0c\x1e\xec\x47\xec\xe5\xc0\xf5\x35\x75\x1e\xec\xde\x09\x59\x3a\x71\xb3\xd1\xd3\x5e\x5c\x88\xf8\xcb\x38\x72\x39\xa1\x3f\xc9\x97\x43\xf9\x7f\x9e\x3b\x17\xa3\x38\x8f\xee\x67\xa5\xdd\xae\x59\x2e\xe2\x81\x30\xaa\x50\x37\xf2\xc0\x1e\x15\xdb\xd2\xb0\x5f\xb9\x48\xb3\xd4\x65\xb7\x3b\x50\x1b\x52\x55\x7b\x04\x75\x1f\xb6\x70\xcb\x32\xd4\x6d\x19\x69\x43\x59\x03\xeb\xb6\x9e\x77\x9d\x85\xa6\x8d\x5d\xa9\xac\x36\x6d\x6e\x67\x1d\x25\xa7\xb6\xc9\xf3\xdb\x87\xbe\x25\xa7\x4d\x91\xed\xba\x53\xef\x22\x55\x2d\x69\xca\x15\x00\xc0\x87\x8f\xe5\x86\xff\x35\x2b\x47\x4b\x25\x5c\xb1\x5f\xc5\xd5\x45\x14\x47\x05\xaf\x02\xbe\xa2\xfc\xaf\x34\x53\xeb\x66\xac\xbe\x2c\x05\x7f\x35\xcc\x34\xad\x86\x9d\x18\x73\x10\x42\xae\xab\xa0\xf1\x50\xe8\xd1\x25\x9e\x98\xee\xb5\x1a\xc1\xae\x16\x33\x48\x79\xbb\xb0\xb4\xd9\xd2\x5b\xc4\x50\xb4\x11\xc8\xa8\xbf\x11\xae\x4f\xd6\x9e\xf5\x94\x69\x63\xeb\xb6\x51\xe5\xcc\xc6\x8e\x22\xb0\xdd\x36\x62\x39\x9e\x60\x95\x62\x77\x68\x9e\xa4\x67\xb0\x75\xf8\x48\xa3\x18\x77\xfb\xa9\x3f\xa9\xf7\xbe\x59\x69\xd9\xe4\x6b\x5c\xaf\xb4\x94\xa8\x23\xb6\xda\x19\xb7\x7d\x6e\x59\x9a\xd7\x2b\x4d\xe9\xa7\x5d\xb4\x74\xe9\xd8\xc5\xc2\x75\x65\x5b\x4e\x65\x3e\x57\xd7\x2d\xe6\xe9\x88\xdb\x96\x23\xb0\xd2\x79\xed\xd2\x02\x4b\x2b\x91\xd0\x9a\x65\x38\x9d\x56\xaa\xa0\x7e\x01\xe3\xd8\x37\x80\x89\xf6\x3b\xc0\x86\x6a\xba\x0d\x0a\x62\xd3\x30\x84\xd4\x26\x7c\x74\x49\x18\x5f\xf4\xea\x9a\xec\xf7\xe5\xbd\x4d\x47\x02\xd2\xc4\x4d\x2e\x84\x2c\x5c\x90\x14\x67\x53\xce\x1e\x20\x62\x4c\xdc\xa1\x2f\x7d\x2a\xff\x57\xa0\xf4\x56\xbb\xad\x99\x98\xd4\x32\x70\xad\x30\xb6\xa7\x89\x0b\x1d\x1f\x4d\xdd\xe8\x46\xce\x26\x28\xb9\xeb\xe0\x22\xbb\x19\x4c\xe1\x1f\xf0\xc2\xd5\xb1\xf6\xc9\x0c\x76\xe8\x46\x4a\xf3\x51\x65\xab\x0b\xa2\x78\x4d\x71\x1b\xdd\x32\x74\xe6\xb0\xed\x8d\x39\x6c\x34\xae\xd7\x11\x87\x17\xce\x10\x85\x0f\x94\x91\x73\x31\x09\xa7\x7a\x3f\x98\x5c\x74\xe0\xa4\x9d\x53\x1a\x04\xde\xb5\xf5\x15\x2d\xfb\x61\x6d\xf9\x2b\x2f\x29\xde\x3c\xe9\x29\xa7\xaf\xe3\xa3\xf9\x26\x5d\xd4\x38\x6f\x67\x8f\x1a\x21\x04\xc5\xb4\xb2\x59\x68\x88\xd0\x63\x6a\x36\x68\x54\xb6\x9e\x23\x46\x6b\xc6\x3a\x4f\x46\x66\xb6\xc3\x19\x22\x33\x17\x6c\x76\x04\x66\xee\x43\x77\x64\xd6\x3c\x6a\x94\xa1\x59\xeb\xa0\xd2\x11\x9b\xf9\x11\x7d\x40\xe5\xa9\xa2\x47\x8c\xd6\x92\xdd\x23\x48\xfb\x4a\x01\x59\x67\xfc\x51\x1e\xd8\x4e\x8f\x3f\x1a\x6b\x52\x78\x4a\xd3\x32\x7f\x5e\x04\xd2\x52\xe0\xab\x84\x20\x6d\x2d\xce\x1a\x83\x34\xcd\x79\x5a\x0c\xd2\xa9\xe4\x97\x0e\x42\x8e\x02\xcc\x89\x61\x48\x7b\xa2\xdf\x7c\x1c\x52\x9e\xe3\x0f\xc6\x21\xae\x85\xd9\x79\xbb\x43\x8f\xde\x86\xfd\xec\xe0\xa3\x6d\xde\x93\xa3\x8f\xa6\x76\x4f\x86\x1f\x95\x15\x3e\x23\xfe\x78\x0c\x1f\xdf\x48\x00\x72\xf4\x6a\x9e\x12\x82\x74\xb3\xd6\x37\x14\x83\xb4\x76\xf5\x27\x83\x10\xe5\x2f\x90\x3f\x27\x0a\x09\x7e\xff\x3f\x00\x00\xff\xff\xa8\x17\x81\x3d\xd8\x3d\x00\x00") +var _templateBuilderQueryTmpl = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x5b\x6d\x8f\xdb\x36\x12\xfe\x6c\xff\x8a\xa9\xe1\x2e\xec\xc0\xa1\x37\xf9\x76\x3e\xec\x01\xdb\x6c\x72\x30\xd0\x4b\xef\x92\x02\x57\x20\x08\x5a\xad\x34\xb2\xd9\xd0\xa4\x4a\x52\xde\x5d\xf8\xfc\xdf\x0f\x7c\x91\x44\xbd\x78\x57\x76\xdc\x24\xe8\xa7\xb5\x24\x72\x38\x1c\x3e\xf3\xf0\xe1\xcb\xee\x76\xf3\x67\xc3\x57\x22\x7b\x90\x74\xb5\xd6\xf0\xf2\xf2\xc5\xdf\x9e\x67\x12\x15\x72\x0d\x6f\xa2\x18\x6f\x85\xf8\x04\x4b\x1e\x13\xb8\x66\x0c\x6c\x21\x05\xe6\xbb\xdc\x62\x42\x86\x3f\xaf\xa9\x02\x25\x72\x19\x23\xc4\x22\x41\xa0\x0a\x18\x8d\x91\x2b\x4c\x20\xe7\x09\x4a\xd0\x6b\x84\xeb\x2c\x8a\xd7\x08\x2f\xc9\x65\xf1\x15\x52\x91\xf3\x64\x48\xb9\xfd\xfe\xe3\xf2\xd5\xeb\xb7\xef\x5f\x43\x4a\x19\x82\x7f\x27\x85\xd0\x90\x50\x89\xb1\x16\xf2\x01\x44\x0a\x3a\x68\x4c\x4b\x44\x32\x7c\x36\xdf\xef\x87\xc3\xdd\x0e\x12\x4c\x29\x47\x18\xfd\x91\xa3\x7c\x18\xc1\x7e\x6f\x5e\x8e\xb3\x4f\x2b\x58\x5c\xc1\x6d\xa4\x10\xc6\xe4\x95\xe0\x29\x5d\x91\x7f\x47\xf1\xa7\x68\x85\xe0\x6b\x6a\xdc\x64\x2c\xd2\x08\xa3\x35\x46\x09\xca\x11\x8c\xdb\x9f\xe8\x26\x13\x52\x07\x9f\xc6\xb7\x39\x65\xa6\x77\x8b\x2b\xc8\x24\xe5\x1a\x26\x59\xa4\xe2\x88\xc1\x98\xbc\x8d\x36\x38\x85\xd1\x7f\x6a\xae\x48\x8c\x91\x6e\x5d\x85\xf2\x77\x69\xc5\x58\x9d\xcf\x21\x34\xbc\xdf\x9b\x58\x9a\x40\x14\x6f\x52\x21\xc1\xf6\x8f\xf2\x95\x29\x5a\x6b\xd0\x94\x47\xae\xa9\xa6\xa8\xc8\x50\x3f\x64\xd8\xb4\xa6\xb4\xcc\x63\x0d\xbb\xe1\x20\xb6\x81\x18\x0e\x18\xdd\x50\x3d\x18\x3c\xa3\x5c\x0f\x07\x22\x4d\x15\x56\x4f\x32\x41\x39\x18\x7c\xf8\xf8\x93\xf9\x31\x1c\xe4\x9c\xfe\x91\xa3\x79\xa1\xb4\xa4\x7c\x35\x1c\x64\x12\x13\x1a\x47\x1a\x15\x0c\x3e\x7c\x2c\x9f\x88\x69\xb5\xf0\x68\x38\x98\xcf\x81\x72\x8d\x72\x83\x09\x35\x91\x34\xfe\x5b\x0f\x07\xbb\xdd\x73\x90\x11\x5f\x21\x8c\x7f\x9d\xc1\x58\x69\x21\xcd\xa8\x2c\xae\x60\x4c\xde\xfb\x07\x63\x61\x60\x0c\xaa\xf2\x05\x04\x8f\xe4\x07\xd7\x3b\x53\xcc\x98\x43\x9e\x98\x2a\x2e\x96\xff\x5d\xa3\x44\x88\x92\x44\x41\x04\x1c\xef\xa0\x74\xd1\x06\x32\x08\x2c\x19\xa6\x39\x8f\x61\x52\x1b\xa6\xfd\x1e\x9e\xd5\x03\x38\x75\x26\x27\x99\x02\x42\x48\x77\x87\xa7\xcd\x4a\x26\xdc\xa1\xdd\xfd\x9e\x04\x81\xbb\x82\x28\xcb\x90\x27\xcd\xa6\x83\x32\x33\xc8\x14\x21\x64\x3a\x1c\x48\xd4\xb9\xe4\xd0\x28\xea\x7b\xfb\xa3\x19\xca\xa2\xb7\x76\x5c\x41\x69\xcc\x40\x0b\xdb\x53\x0b\x9b\xde\xfd\xb4\xc6\x26\xce\x0a\xe5\xfa\xc9\x4e\x19\x8f\x5d\xe9\x2b\xb8\xb0\x3f\x9e\xf0\xf6\x27\x8b\x35\xef\x2e\x07\x07\xbd\xcf\x70\xd8\xd9\x9b\x78\x3b\x7d\x5d\xf6\xc5\xaf\xe0\xc2\xfd\x7a\xca\x69\x93\x09\x95\xcf\xf6\xe9\x33\x5c\x36\xf5\x27\xc2\x40\xc9\xfe\xec\xe7\xb1\x6d\xf4\x20\x6a\xec\xe7\x19\x88\xa7\xf0\x62\x38\xdf\x91\xa9\xa5\xec\x75\xa4\x40\xd1\x0d\x65\x91\xa4\xfa\x01\xee\xa8\x5e\x03\x26\xab\x32\x59\x0d\x21\xc7\x8c\x22\xd7\x44\x6f\x32\x06\x96\x74\x77\xbb\x30\x7b\x7d\xde\xbe\x4e\x56\xa8\xc0\xa5\x23\x8c\x8d\x8d\x5f\x0f\xf3\x24\x92\x9f\x1f\x32\x6c\xb3\xa5\xe1\x0c\xfb\x14\x50\x1c\x96\x1c\x17\xaf\x23\xca\x1d\x2f\xc6\xb9\x94\x66\x9a\xb2\x81\x07\xe1\x66\x0d\xdb\x70\xc5\x88\xc9\x0a\xc9\x70\xd0\x73\x4c\x0e\xb6\x3a\xf1\xa3\x53\xeb\x91\x1b\xa2\x81\x6b\x7d\x71\x05\x17\x1d\x25\x76\x8e\x6a\x17\xcd\x51\x20\xee\xbd\xa3\xb7\xe7\x40\x53\x18\x93\x7f\xe5\x4c\xd3\x1a\xf3\x0d\xd4\x1d\xd5\xf1\xba\x55\x39\x91\xe6\x17\xb9\xa1\x11\xc3\x58\x4f\xa6\xd6\x8f\x5e\x84\xfa\xdc\xd9\x8d\xcd\x84\xb8\xdb\xc1\xef\x82\xf2\x8a\x4d\xbd\x3d\x05\xa3\x19\x98\x91\x58\x98\xa2\xd6\xac\x83\xc4\xbd\x36\x04\x3b\x86\xd1\x3b\xef\xcb\x28\x70\x6b\x64\xc6\x7e\x64\x90\xe0\xdb\x70\xc4\x6d\x01\x53\x8c\x7d\x0a\xa3\xc4\xb5\x31\xff\x5e\xcd\x6d\xe0\xe6\x59\xa4\xd7\xa3\x90\xe0\x8b\xba\xcf\xe1\xbe\x9c\x7f\x9d\x19\x52\x9a\xde\xed\x2c\xd7\xfb\xc7\xfa\x93\x9f\x32\x90\xa9\xc2\xda\xc9\x3d\x38\xa2\x03\x13\xca\x13\xbc\x0f\x22\x7d\x39\x85\xd2\x4a\x57\x57\x2a\xd7\x2a\xdf\xeb\x4f\x3e\x7f\x6d\x2b\xc3\x81\xcd\x38\x3f\xc1\x19\x36\x7a\x43\xa5\xd2\xe0\xca\xb8\x74\x48\xed\x9b\x70\x36\x72\x82\xe0\xa1\x10\x54\x8e\xa0\xe0\x9d\xaf\xf3\xec\xb5\x94\x6f\x85\x7e\x63\x74\x18\xdc\xad\x91\x03\x17\xa6\x3a\x13\x77\x46\x9a\x94\x46\xee\x22\xe5\xc4\x5a\x6f\x6e\xb3\xbe\x4d\x62\x7d\x0f\xb1\xe0\x1a\xef\xb5\x91\x5e\xe6\xef\x14\x26\xcf\x42\x07\x67\x80\x52\x0a\x39\xf5\x5c\x97\xb1\x5c\x5a\x41\xf3\xae\xb2\x6e\x8b\x98\x01\x68\x26\x81\x9b\xa4\x5e\x4c\xc9\x35\x63\xa6\xad\xe9\x70\x40\x53\x5b\xf8\xbb\x2b\xe0\x94\xd9\xa4\xf0\x31\xe4\x94\x59\x3b\x26\x8c\xa6\x14\x43\x3e\x39\xd0\xde\x14\xae\xae\xe0\xb2\x55\xf9\x22\x08\xd6\xce\x05\xb9\xd2\x91\xe4\xc7\xe8\x16\xd9\xde\x5a\xaf\x58\xb7\xcb\xfa\x87\xcb\x8f\x33\x63\x70\x18\x0c\xe2\x2f\x4e\x33\x7f\x42\xf7\x38\x83\xdb\x5c\x43\x16\x71\x1a\x2b\x43\x0c\x11\x77\x41\x02\x11\xc7\xb9\x54\xc7\x0d\xc2\x2f\xdd\xa3\x50\x1b\x84\x62\xa2\xe9\x15\xf5\x72\x68\x5b\xe1\xbe\xb8\x80\xef\x96\xaa\x88\xd1\x04\xa5\x1b\xd6\x81\xed\x89\x7d\x6c\xc4\xa7\xd6\x60\x18\x90\xe5\xcd\x53\xb8\xa6\xc9\x31\x98\xa6\xc9\xa9\x18\x5e\xde\x1c\x40\x31\x4d\x9c\x43\xcb\x1b\x3b\x89\x95\x11\xab\xe0\xbc\x8d\x24\xd0\x44\xc1\x87\x8f\x8d\x82\x36\x6e\x34\x51\xae\xc2\x23\xb8\x5e\xde\x28\x1b\xe8\xbf\x77\x83\x3a\xc4\x32\x4d\x54\x80\x5b\x67\xb7\x1f\x62\x43\x63\x7e\x68\x68\xa2\x3a\x61\xba\xbc\xa9\x03\x75\x79\x73\x5e\xa8\x1e\x0a\x76\x23\x7e\xa6\x8b\x34\x79\x1c\xa0\xce\xd4\x67\x42\x94\x26\x85\xf0\xe3\xec\xa1\x86\x48\x61\x5e\x3c\x45\xb4\xb3\xb2\x4a\x19\x16\x9a\x02\x17\x1a\xf0\x3e\x8a\x35\x33\x8a\x05\x8b\x8a\x06\x9f\xae\x38\xf6\x87\xa8\xf1\xeb\xcb\xb0\xec\xcb\xe3\x59\xd6\x4b\x97\x47\x99\xd6\x2c\x45\x8d\x12\x79\xb1\xa8\x8c\x3c\x45\x9c\xae\xc6\xe5\xe2\x24\x7e\x4e\x30\x8d\x72\xa6\x0f\x54\x7e\x4f\xf9\x2a\x67\x91\x7c\x8c\xdf\x2b\x44\x54\xb4\x6d\x9e\xce\x95\x0a\xd6\xf2\xb9\x49\xbb\x00\x4a\xe7\xe0\x1d\xc5\xcf\xc6\x52\x83\x9e\xdb\xc9\xd0\x60\xe7\x7e\x89\xe0\x49\xfa\xa4\x24\xf8\x7a\x34\xfd\xb2\x1f\x4d\x07\xc9\x60\xa9\xba\x06\x7c\x9a\xc0\x95\x27\xdd\x10\xdd\xc7\xb0\x78\x80\xeb\x5a\xb5\x3e\x88\x2e\xfc\x0c\x90\x1d\x30\xbd\x0b\xef\x59\xd1\x7d\x1e\x9e\xaf\xc6\xfd\x08\x54\x97\x94\x7e\xcd\x18\xe0\x3d\xc6\xb9\x46\x55\x21\x15\x22\x9e\x54\x60\x05\x46\x95\x06\x91\xd6\x28\xc9\x63\xbc\x77\x8f\x3d\x6d\x76\x60\xf3\xc3\xc7\x47\x48\xfa\xe0\x92\xf0\x98\x15\x61\xef\x1d\xb6\x23\x96\x83\xdd\x9b\x0a\xa4\xbe\x47\x57\xcd\x15\xe1\xb6\xdc\x20\x84\x69\x73\xce\x10\x52\x91\xb7\x78\x37\x19\x15\xdb\xb6\xfb\xfd\x02\x72\xae\xf2\x2c\x13\x52\x63\x02\x7e\xdd\x35\x32\x46\x8b\xed\xbe\x72\x89\x77\xd8\xab\xd6\xb2\xac\xe6\x5e\x6b\xd3\xf0\x9a\xb1\x8a\xd7\xaf\x19\x3b\x17\xf0\x8d\xdd\x6e\x1c\x34\x60\x70\xca\x1c\xfd\xd8\xd4\x7c\x90\xdd\xbb\x5a\xf0\x41\x58\xde\xa8\xa3\x92\x23\x64\xfe\xfe\x21\xf1\xbc\xd9\x99\x19\x5d\xa4\xdd\x8b\xb0\x0f\x44\xe8\x3d\xda\xb4\x68\x92\xe0\x1b\x8a\x2c\x59\xde\x4c\xc9\xfb\x38\xe2\xc6\x99\x19\x5c\x18\x7e\x3e\x40\xe5\x75\x81\x53\xa9\xe5\x50\x2a\x2f\x6f\x54\x05\xa0\xe5\x8d\x3a\x17\x80\x8c\xdd\x43\x00\xea\x24\x4e\x75\x10\x2e\xc5\x84\x75\x0c\x6d\x2a\xdf\xbd\x57\x22\xe7\xf5\x5d\x87\xd8\xbe\xb1\x87\x33\x08\x2b\xba\x45\x7e\xe4\x46\xa8\x35\x79\x68\xfe\xe6\xfa\xaf\xc4\x8b\x65\x57\xfb\x30\xe3\xe5\x17\xe7\xc5\xd0\xbd\x16\x33\xda\x8f\x15\xb4\xed\xe3\xb9\xc0\xed\x6c\x77\x63\x80\x72\x7f\x64\x95\x7b\x2c\x74\x41\x3a\xf4\xbc\x2f\xa8\xad\x45\xdf\xb9\xd7\xf7\x34\xdc\x4c\x93\x39\x9a\xee\x54\xd4\xb7\x8e\x14\x20\xc3\x0d\x72\xad\x0a\x6d\xbb\x92\x51\xb6\xee\xdd\x45\xdb\xc2\x01\x94\xdf\x0a\xc1\xfe\x4a\x30\x2f\xfb\xda\x07\xe6\x69\xc4\x14\x7e\x71\xa8\x87\x2e\xb6\xa0\x6e\x3f\x56\x50\xb7\x8f\xe7\x82\xba\xb3\xdd\x0d\x04\x83\x03\x33\x72\xe8\x1a\x3c\x80\xf5\xd0\xf5\xbe\x58\xb7\x16\x8b\x44\x66\x66\xb9\x55\x4d\xe4\x49\x9e\x31\x77\x2c\x2a\x42\xc8\x7b\xa7\x67\x40\x79\xcc\xf2\x84\xf2\x15\x44\x8c\x41\xa4\x94\x88\x69\x64\x86\x43\x69\xcc\x14\x81\xa5\x86\x38\xe2\x70\x8b\xc6\x78\xae\x30\x01\x2d\x20\x93\x98\x45\xd2\xcc\x0e\x9b\x8d\xe0\x75\x93\xca\x2a\x89\x5c\xa1\x69\x6d\x03\x09\x4d\x53\x94\xc8\xcd\x42\x30\x4a\xb5\xbf\x30\x10\x5b\x2f\xa9\x82\x4d\x94\x60\x7f\x22\x31\xb5\x26\x9d\x47\x69\x3e\x12\x17\xf5\x2f\x26\x64\xc5\x11\x4d\xeb\xb4\xcd\x7d\x98\x0d\x07\xee\xa0\x7c\x01\x83\xee\x53\x4f\x53\xc2\x9d\x20\x76\x18\x71\x1f\x6c\x11\x99\xa0\x34\x46\xfc\xe9\x9d\x3f\x5b\xdf\xed\x67\xad\x31\xb6\x45\x09\x21\x53\x53\xcf\x1d\xbd\x2f\xa0\xaa\xe7\x8e\xe0\xbb\x2a\xba\xb2\x45\xcd\xea\x14\x79\x01\x65\xe5\xee\x83\xeb\x2e\x63\x55\xf5\xc2\xe0\x7c\x5e\x0c\x4c\xf7\x99\x7e\x7f\xce\x69\x9c\xea\xb7\x0f\xc8\xea\xdf\x89\x1f\xd9\x59\x83\x51\xfc\x71\x26\x8c\x57\x52\xe4\xd9\x0f\xc1\x59\x63\xed\x6e\xc4\xff\xca\xe3\x9b\xef\xd5\x3f\x6d\x49\x77\xd4\x68\x20\xeb\x9f\x4b\xe8\x5a\x4b\xb0\x45\xa9\x69\x8c\x0a\x6e\xdd\xf6\x84\x90\xb0\x11\x12\x21\x35\x92\x51\xcd\x63\xc1\xf2\x0d\x57\xc4\x4a\x3e\x6d\x70\x2a\x52\x8d\xdc\x19\xb1\x67\x4d\xd1\x6a\x25\x71\x65\x6f\x1b\xe4\x3c\xd6\x54\x70\x35\xb3\x7c\xb2\x28\xa9\x76\xf2\x09\x1f\x54\x55\x70\x5a\x30\x2d\x19\x96\x27\x56\x0c\x39\x8c\x9d\x4e\x55\xee\x26\xc9\x73\x18\xa7\xa6\x83\x05\xab\xf9\x6f\x86\xd4\x86\xf3\xb9\xa3\xaf\x68\x93\x31\x5c\xb8\x47\x2b\x98\xb7\x60\x41\xe3\xae\x7f\xcc\xe7\x2e\xfa\x29\x79\x6f\x5f\x59\x0b\xc5\xcd\x8a\xb4\x54\x91\xbf\x85\x65\x7e\x8e\x0c\x1d\xff\x66\xeb\x3a\x0d\x68\xe6\xe5\xdf\x7e\x57\x82\x2f\x46\x6e\x6e\x16\x1b\xaa\x71\x93\xe9\x87\x91\x2d\xe6\xbd\x19\xf8\x83\xe3\x8e\xeb\x2a\xc4\x1e\xb7\x4e\xa6\xc4\x5a\xf5\xc3\xd0\xd2\xe8\xce\x8b\x57\x82\x2b\x1d\x71\x6d\xb2\xdc\x95\xbf\x2e\xc2\x36\xa9\xa6\x0b\xaf\x03\xa6\xbe\x48\xa0\xea\xb7\x53\xe3\x4e\x80\x9c\x9e\x84\x52\x78\x65\x87\x1d\x5c\xde\xcd\x3c\x08\x80\x10\xe2\xde\x78\xc2\xa9\x61\xd0\xb1\x8e\x03\x53\x71\x38\xdc\x28\xf0\xf4\xe1\xb0\xad\x40\x7c\x73\x57\xd0\x24\x00\xfb\x61\x5f\xf8\xe3\x4e\xfd\xbf\x61\xf1\xe0\x7a\x53\x4f\xec\x8e\x9d\xb5\x7a\x01\x0f\x92\xa6\x92\x68\xcd\xff\xa5\xf1\xae\xe9\xbe\xbb\x95\xae\x92\x65\x73\x61\x6b\x7e\xee\xb0\x4d\x14\x84\xa3\xec\x92\xb2\x17\xe3\xb8\xd5\x67\x49\x38\xee\xb1\x83\x55\x20\x95\x62\xd3\x5e\x47\x7d\xcb\x64\x70\x6c\x96\x1f\x58\x88\x1f\x4a\xf2\x33\x64\xb0\x6f\xb1\x57\x02\xd7\xc7\xd4\x65\xb0\x7b\x27\x64\x99\xc4\xcd\x42\x4f\x67\x71\x61\xe2\x2f\x93\xc8\x65\x87\xfe\xa4\x5c\x0e\xed\xff\x79\xe9\x5c\xb4\xe2\x32\xba\x5f\x94\x76\xbb\xe6\x4d\x12\x0f\x84\x51\x85\xba\x91\x07\xf6\xa8\x98\x96\x86\xfd\x6e\x92\x34\x6f\xc1\xec\x76\x07\xae\x8d\x54\x17\x41\x82\x2b\x21\xf6\x4e\x97\x65\xa8\xdb\x52\x69\x43\x79\x3d\xd6\x4d\x3d\xef\x3a\xef\xa0\x36\x66\xa5\xf2\x22\x6a\x73\x3a\xeb\xb8\x8d\x6a\x8b\x3c\xbf\x7d\xe8\x7b\x1b\xb5\x69\xb2\x7d\x25\xd5\xa7\x48\x75\xcd\x34\xe5\x0a\x00\xe0\xc3\xc7\x72\xc2\xff\x9a\x97\x4a\x4b\x27\xdc\x3d\xc0\x8a\xab\x0b\x15\x47\x05\xaf\x04\x5f\x71\x33\xb0\x0c\x53\x6b\x67\xac\x3e\x2c\x05\x7f\x35\xc2\x34\xad\x9a\x9d\x98\x70\x10\x42\xae\x2b\xd1\x78\x48\x7a\x74\x99\x27\xa6\x7a\xed\xfa\x60\x57\x89\x19\xa4\xbc\x7d\xe7\xb4\x59\xd2\x47\xc4\x50\xb4\x31\xc8\xa8\xdf\x2c\xae\x77\xd6\xae\xf5\x94\x29\x63\xaf\x74\xa3\xca\x99\xd5\x8e\x22\x88\xdd\x36\x62\x39\x9e\x10\x95\x62\x76\x68\xae\xa4\x67\xb0\x75\xf8\x48\xa3\x18\x77\xfb\xa9\x5f\xa9\xf7\xde\x59\x69\xc5\xe4\x6b\x6c\xaf\xb4\x9c\xa8\x23\xb6\x9a\x19\xb7\x7d\x76\x59\x9a\xdb\x2b\x4d\xeb\xa7\x6d\xb4\x74\xf9\xd8\xc5\xc2\x75\x67\x5b\x49\x65\x3e\x57\xdb\x2d\xe6\xe9\x88\xdd\x96\x23\xb0\xd2\xb9\xed\xd2\x02\xcb\xae\x79\x90\xd0\xea\x65\xd8\x9d\xd6\x51\x41\x7d\x03\xc6\xb1\x6f\x00\x13\xed\x67\x80\x0d\xd5\x74\x1b\xdc\x95\x4d\x43\x09\xa9\x8d\x7c\x74\xe7\x33\xfe\x3e\xac\x2b\xb2\xdf\x97\xfb\x36\x1d\x67\x93\x46\x37\x39\x09\x59\xa4\x20\x29\xd6\xa6\x9c\x3d\x40\xc4\x98\xb8\x43\x7f\x2b\xaa\xfc\x37\x82\x32\x5b\xed\xb4\x66\x34\xa9\x65\xe0\xda\x9d\xd9\x9e\x21\x2e\x7c\x7c\xf4\x54\x47\x37\x8e\x73\x82\xdb\x78\x1d\x5c\x64\x27\x83\x29\xfc\x03\x5e\xb8\x2b\xae\x7d\x0e\x0d\x3b\x7c\x23\x65\xf8\xa8\xb2\x17\x0f\xa2\x78\x4d\x71\x1b\xdd\x32\x74\xe1\xb0\xe5\x4d\x38\xac\x1a\xd7\xeb\x88\xc3\x0b\x17\x88\x22\x07\x4a\xe5\x5c\x74\xc2\xb9\xde\x0f\x26\x17\x1d\x38\x69\x9f\x29\x0d\x82\xec\xda\xfa\xcb\x2e\xfb\x61\x6d\xf8\xab\x2c\x29\xde\x3c\x99\x29\xa7\x8f\xe3\xa3\xe7\x4d\xba\xb8\xfe\xbc\x9d\x3d\x1a\x84\x10\x14\xd3\x2a\x66\x61\x20\xc2\x8c\xa9\xc5\xa0\x71\xe9\xf5\x1c\x1a\xad\xa9\x75\x9e\x54\x66\xb6\xc2\x19\x94\x99\x13\x9b\x1d\xc2\xcc\x7d\xe8\x56\x66\xcd\xa5\x46\x29\xcd\x5a\x0b\x95\x0e\x6d\xe6\x5b\xf4\x82\xca\x53\x45\x0f\x8d\xd6\xb2\xdd\x43\xa4\x7d\x25\x41\xd6\xa9\x3f\xca\x05\xdb\xe9\xfa\xa3\x31\x26\x45\xa6\x34\x23\xf3\xe7\x29\x90\x96\x03\x5f\x45\x82\xb4\xbd\x38\xab\x06\x69\x86\xf3\x34\x0d\xd2\xe9\xe4\x97\x16\x21\x47\x01\xe6\x44\x19\xd2\xee\xe8\x37\xaf\x43\xca\x75\xfc\x41\x1d\xe2\x4a\x98\x99\xb7\x5b\x7a\xf4\x0e\xec\x67\x8b\x8f\x76\x78\x4f\x56\x1f\x4d\xef\x9e\x94\x1f\x55\x14\x3e\x43\x7f\x3c\x86\x8f\x6f\x44\x80\x1c\x3d\x9a\xa7\x48\x90\x6e\xd6\xfa\x86\x34\x48\x6b\x56\x7f\x52\x84\x28\xbf\x81\xfc\x39\x2a\x24\xf8\xfd\xff\x00\x00\x00\xff\xff\x97\x2c\xf7\xde\xf3\x3d\x00\x00") func templateBuilderQueryTmplBytes() ([]byte, error) { return bindataRead( @@ -194,7 +194,7 @@ func templateBuilderQueryTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/builder/query.tmpl", size: 15832, mode: os.FileMode(420), modTime: time.Unix(1571144548, 0)} + info := bindataFileInfo{name: "template/builder/query.tmpl", size: 15859, mode: os.FileMode(420), modTime: time.Unix(1571154251, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/entc/gen/template/builder/query.tmpl b/entc/gen/template/builder/query.tmpl index 5b31830ce..62d4488af 100644 --- a/entc/gen/template/builder/query.tmpl +++ b/entc/gen/template/builder/query.tmpl @@ -199,6 +199,7 @@ func ({{ $receiver }} *{{ $builder }}) AllX(ctx context.Context) []*{{ $.Name }} // IDs executes the query and returns a list of {{ $.Name }} ids. func ({{ $receiver }} *{{ $builder }}) IDs(ctx context.Context) ([]{{ $.ID.Type }}, error) { + var ids []{{ $.ID.Type }} if err := {{ $receiver }}.Select({{ $.Package }}.FieldID).Scan(ctx, &ids); err != nil { return nil, err }