- Request / Response
- Performance
- Validator
- Forms
- Exception
- Logs 49
- Events
- Routing
- Cache
- Translation
- Security
- Twig
- HTTP Client
- Doctrine
- Debug
- Messages
- E-mails
- Notifications
- Configuration
Configuration Settings
Theme
Default theme. It switches between Light and Dark automatically to match the operating system theme.
Provides greatest readability, but requires a well-lit environment.
Reduces eye fatigue. Ideal for low light environments.
Page Width
Fixed page width. Improves readability.
Dynamic page width. As wide as the browser window.
Log Messages
Level (7)
Channel (4)
| Time | Message |
|---|---|
| deprecation |
Since symfony/security-bundle 5.3: The "Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface" service is deprecated, use "Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface" instead. It is being referenced by the ".service_locator.9VN56BO" service.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#3836 +count: 1 -severity: E_USER_DEPRECATED trace: { /home/user/web/webprof.tridenia.es/public_html/vendor/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php:68 { Symfony\Component\DependencyInjection\Compiler\ResolveReferencesToAliasesPass->getDefinitionId(string $id, ContainerBuilder $container): string … › {
/home/user/web/webprof.tridenia.es/public_html/vendor/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php:68 {
Symfony\Component\DependencyInjection\Compiler\ResolveReferencesToAliasesPass->getDefinitionId(string $id, ContainerBuilder $container): string …
›
|
| deprecation |
Method "Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents()" might add "array" as a native return type declaration in the future. Do the same in implementation "App\EventSubscriber\PageSubscriber" now to avoid errors or add an explicit @return annotation to suppress this message.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#3834 +count: 1 -severity: E_USER_DEPRECATED trace: { /home/user/web/webprof.tridenia.es/public_html/vendor/symfony/error-handler/DebugClassLoader.php:330 { spl_autoload_call($class_name) … › {
/home/user/web/webprof.tridenia.es/public_html/vendor/symfony/error-handler/DebugClassLoader.php:330 {
spl_autoload_call($class_name) …
›
|
| deprecation |
Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface" interface is deprecated, use "Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface" instead.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#3838 +count: 1 -severity: E_USER_DEPRECATED trace: { /home/user/web/webprof.tridenia.es/public_html/vendor/symfony/security-core/Encoder/UserPasswordEncoderInterface.php:17 { include … › › {
/home/user/web/webprof.tridenia.es/public_html/vendor/symfony/security-core/Encoder/UserPasswordEncoderInterface.php:17 {
include …
›
›
|
| deprecation |
Since symfony/security-bundle 5.3: The child node "encoders" at path "security" is deprecated, use "password_hashers" instead.
2 times
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#3839 +count: 2 -severity: E_USER_DEPRECATED trace: { /home/user/web/webprof.tridenia.es/public_html/vendor/symfony/security-bundle/DependencyInjection/MainConfiguration.php:73 { Symfony\Bundle\SecurityBundle\DependencyInjection\MainConfiguration->Symfony\Bundle\SecurityBundle\DependencyInjection\{closure} … › {
/home/user/web/webprof.tridenia.es/public_html/vendor/symfony/security-bundle/DependencyInjection/MainConfiguration.php:73 {
Symfony\Bundle\SecurityBundle\DependencyInjection\MainConfiguration->Symfony\Bundle\SecurityBundle\DependencyInjection\{closure} …
›
|
| deprecation |
Since symfony/framework-bundle 5.4: Not setting the "framework.messenger.reset_on_message" configuration option is deprecated, it will default to "true" in version 6.0.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#3840 +count: 1 -severity: E_USER_DEPRECATED trace: { /home/user/web/webprof.tridenia.es/public_html/vendor/symfony/framework-bundle/DependencyInjection/FrameworkExtension.php:2180 { Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension->registerMessengerConfiguration(array $config, ContainerBuilder $container, PhpFileLoader $loader, array $validationConfig) … › {
/home/user/web/webprof.tridenia.es/public_html/vendor/symfony/framework-bundle/DependencyInjection/FrameworkExtension.php:2180 {
Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension->registerMessengerConfiguration(array $config, ContainerBuilder $container, PhpFileLoader $loader, array $validationConfig) …
›
|
| info |
Matched route "search_page".
request
[ "route" => "search_page" "route_parameters" => [ "_route" => "search_page" "lang" => "ca" "_controller" => "App\Controller\MainController::searchPage" "operacio" => "compra" "supertipus" => "habitatges" "province" => "barcelona" "locality" => "badalona" ] "request_uri" => "https://webprof.tridenia.es/ca/compra/habitatges/barcelona/badalona" "method" => "GET" ] |
| debug |
Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest".
event
[ "event" => "kernel.request" "listener" => "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest" ] |
| debug |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
event
[ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest" ] |
| debug |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
event
[ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest" ] |
| debug |
Authenticator does not support the request.
security
[ "firewall_name" => "main" "authenticator" => "App\Security\LoginFormAuthenticator" ] |
| debug |
Checking support on authenticator.
security
[ "firewall_name" => "main" "authenticator" => "App\Security\LoginFormAuthenticator" ] |
| debug |
Checking for authenticator support.
security
[ "firewall_name" => "main" "authenticators" => 1 ] |
| debug |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
event
[ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure" ] |
| debug |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
event
[ "event" => "kernel.request" "listener" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest" ] |
| debug |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
event
[ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest" ] |
| debug |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
event
[ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest" ] |
| debug |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
event
[ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale" ] |
| debug |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
event
[ "event" => "kernel.request" "listener" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator" ] |
| debug |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
event
[ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest" ] |
| deprecation |
User Deprecated: Since symfony/framework-bundle 5.4: Method "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::getDoctrine()" is deprecated, inject an instance of ManagerRegistry in your controller instead.
deprecation
43 times
[ "exception" => ErrorException {#330 #message: "User Deprecated: Since symfony/framework-bundle 5.4: Method "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::getDoctrine()" is deprecated, inject an instance of ManagerRegistry in your controller instead." #code: 0 #file: "/home/user/web/webprof.tridenia.es/public_html/vendor/symfony/framework-bundle/Controller/AbstractController.php" #line: 386 #severity: E_USER_DEPRECATED trace: { /home/user/web/webprof.tridenia.es/public_html/vendor/symfony/framework-bundle/Controller/AbstractController.php:386 { Symfony\Bundle\FrameworkBundle\Controller\AbstractController->getDoctrine(): ManagerRegistry … › {
/home/user/web/webprof.tridenia.es/public_html/vendor/symfony/framework-bundle/Controller/AbstractController.php:386 {
Symfony\Bundle\FrameworkBundle\Controller\AbstractController->getDoctrine(): ManagerRegistry …
›
|
| info |
Connecting with parameters [ "url" => "<redacted>" "driver" => "pdo_mysql" "charset" => "utf8mb4" "host" => "tridenia.cluster-cdx46d7cizxf.eu-west-1.rds.amazonaws.com" "port" => 3306 "user" => "tecnoapi" "password" => "<redacted>" "driverOptions" => [] "serverVersion" => "5.7" "defaultTableOptions" => [] "dbname" => "bd_agency_a13096" ]
doctrine
[ "params" => [ "url" => "<redacted>" "driver" => "pdo_mysql" "charset" => "utf8mb4" "host" => "tridenia.cluster-cdx46d7cizxf.eu-west-1.rds.amazonaws.com" "port" => 3306 "user" => "tecnoapi" "password" => "<redacted>" "driverOptions" => [] "serverVersion" => "5.7" "defaultTableOptions" => [] "dbname" => "bd_agency_a13096" ] ] |
| debug |
Beginning transaction
doctrine
|
| debug |
Executing statement: "INSERT INTO tracking (type, session_id, tracking_value, date_created) VALUES (?, ?, ?, ?)" (parameters: [ 1 => 0 2 => "1122b1127dd203a4c9a07c01fee8dd2bcf618d3c" 3 => "/ca/compra/habitatges/barcelona/badalona" 4 => "2026-06-19 20:28:54" ], types: [ 1 => 5 2 => 2 3 => 2 4 => 2 ])
doctrine
[ "sql" => "INSERT INTO tracking (type, session_id, tracking_value, date_created) VALUES (?, ?, ?, ?)" "params" => [ 1 => 0 2 => "1122b1127dd203a4c9a07c01fee8dd2bcf618d3c" 3 => "/ca/compra/habitatges/barcelona/badalona" 4 => "2026-06-19 20:28:54" ] "types" => [ 1 => 5 2 => 2 3 => 2 4 => 2 ] ] |
| debug |
Committing transaction
doctrine
|
| debug |
Notified event "kernel.controller" to listener "App\EventSubscriber\PageSubscriber::onKernelController".
event
[ "event" => "kernel.controller" "listener" => "App\EventSubscriber\PageSubscriber::onKernelController" ] |
| debug |
Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
event
[ "event" => "kernel.controller" "listener" => "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController" ] |
| debug |
Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
event
[ "event" => "kernel.controller" "listener" => "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController" ] |
| debug |
Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
event
[ "event" => "kernel.controller" "listener" => "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController" ] |
| debug |
Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
event
[ "event" => "kernel.controller" "listener" => "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController" ] |
| debug |
Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
event
[ "event" => "kernel.controller" "listener" => "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController" ] |
| debug |
Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
event
[ "event" => "kernel.controller" "listener" => "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController" ] |
| debug |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
event
[ "event" => "kernel.controller_arguments" "listener" => "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments" ] |
| debug |
Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelControllerArguments".
event
[ "event" => "kernel.controller_arguments" "listener" => "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelControllerArguments" ] |
| debug |
Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::onKernelControllerArguments".
event
[ "event" => "kernel.controller_arguments" "listener" => "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::onKernelControllerArguments" ] |
| debug |
Executing query: "SELECT t0.id AS id_1, t0.name AS name_2, t0.date_created AS date_created_3 FROM api_menu t0 LIMIT 1"
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.name AS name_2, t0.date_created AS date_created_3 FROM api_menu t0 LIMIT 1" ] |
| debug |
Executing query: "SELECT t0.id AS id_1, t0.name AS name_2, t0.domain AS domain_3, t0.address AS address_4, t0.phone AS phone_5, t0.email AS email_6, t0.facebook AS facebook_7, t0.twitter AS twitter_8, t0.google AS google_9, t0.linkedin AS linkedin_10, t0.instagram AS instagram_11, t0.tiktok AS tiktok_12, t0.youtube AS youtube_13, t0.logo AS logo_14, t0.logo_movile_email AS logo_movile_email_15, t0.logo_contact AS logo_contact_16, t0.logo_fav AS logo_fav_17, t0.logo_aicat AS logo_aicat_18, t0.logo_agente AS logo_agente_19, t0.logo_miembro AS logo_miembro_20, t0.banner AS banner_21, t0.banner_url AS banner_url_22, t0.default_list_properties AS default_list_properties_23, t0.user AS user_24, t0.password AS password_25, t0.color_primary AS color_primary_26, t0.color_secondary AS color_secondary_27, t0.primary_foot_1 AS primary_foot_1_28, t0.primary_foot_2 AS primary_foot_2_29, t0.filter_header AS filter_header_30, t0.newsletter AS newsletter_31, t0.first_time AS first_time_32, t0.activation AS activation_33, t0.roles AS roles_34 FROM api_agency t0 LIMIT 1"
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.name AS name_2, t0.domain AS domain_3, t0.address AS address_4, t0.phone AS phone_5, t0.email AS email_6, t0.facebook AS facebook_7, t0.twitter AS twitter_8, t0.google AS google_9, t0.linkedin AS linkedin_10, t0.instagram AS instagram_11, t0.tiktok AS tiktok_12, t0.youtube AS youtube_13, t0.logo AS logo_14, t0.logo_movile_email AS logo_movile_email_15, t0.logo_contact AS logo_contact_16, t0.logo_fav AS logo_fav_17, t0.logo_aicat AS logo_aicat_18, t0.logo_agente AS logo_agente_19, t0.logo_miembro AS logo_miembro_20, t0.banner AS banner_21, t0.banner_url AS banner_url_22, t0.default_list_properties AS default_list_properties_23, t0.user AS user_24, t0.password AS password_25, t0.color_primary AS color_primary_26, t0.color_secondary AS color_secondary_27, t0.primary_foot_1 AS primary_foot_1_28, t0.primary_foot_2 AS primary_foot_2_29, t0.filter_header AS filter_header_30, t0.newsletter AS newsletter_31, t0.first_time AS first_time_32, t0.activation AS activation_33, t0.roles AS roles_34 FROM api_agency t0 LIMIT 1" ] |
| debug |
Executing query: "SELECT t0.cod AS cod_1, t0.text AS text_2, t0.visible AS visible_3, t0.predeterminado AS predeterminado_4, t0.cod_complete AS cod_complete_5 FROM api_agency_lang t0"
doctrine
[ "sql" => "SELECT t0.cod AS cod_1, t0.text AS text_2, t0.visible AS visible_3, t0.predeterminado AS predeterminado_4, t0.cod_complete AS cod_complete_5 FROM api_agency_lang t0" ] |
| debug |
Executing statement: "SELECT t0.cod AS cod_1, t0.text AS text_2, t0.visible AS visible_3, t0.predeterminado AS predeterminado_4, t0.cod_complete AS cod_complete_5 FROM api_agency_lang t0 WHERE t0.cod = ? LIMIT 1" (parameters: [ 1 => "ca" ], types: [ 1 => 2 ])
doctrine
[ "sql" => "SELECT t0.cod AS cod_1, t0.text AS text_2, t0.visible AS visible_3, t0.predeterminado AS predeterminado_4, t0.cod_complete AS cod_complete_5 FROM api_agency_lang t0 WHERE t0.cod = ? LIMIT 1" "params" => [ 1 => "ca" ] "types" => [ 1 => 2 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.order_page AS order_page_2, t0.page_id AS page_id_3, t0.menu_id AS menu_id_4, t0.parent_id AS parent_id_5 FROM api_order_pages t0 WHERE t0.menu_id = ? ORDER BY t0.order_page ASC" (parameters: [ 1 => 1 ], types: [ 1 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.order_page AS order_page_2, t0.page_id AS page_id_3, t0.menu_id AS menu_id_4, t0.parent_id AS parent_id_5 FROM api_order_pages t0 WHERE t0.menu_id = ? ORDER BY t0.order_page ASC" "params" => [ 1 => 1 ] "types" => [ 1 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" (parameters: [ 1 => 21 ], types: [ 1 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" "params" => [ 1 => 21 ] "types" => [ 1 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" (parameters: [ 1 => "ca" 2 => 21 ], types: [ 1 => 2 2 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" "params" => [ 1 => "ca" 2 => 21 ] "types" => [ 1 => 2 2 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" (parameters: [ 1 => 137 ], types: [ 1 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" "params" => [ 1 => 137 ] "types" => [ 1 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" (parameters: [ 1 => "ca" 2 => 137 ], types: [ 1 => 2 2 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" "params" => [ 1 => "ca" 2 => 137 ] "types" => [ 1 => 2 2 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" (parameters: [ 1 => 141 ], types: [ 1 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" "params" => [ 1 => 141 ] "types" => [ 1 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" (parameters: [ 1 => "ca" 2 => 141 ], types: [ 1 => 2 2 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" "params" => [ 1 => "ca" 2 => 141 ] "types" => [ 1 => 2 2 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" (parameters: [ 1 => 145 ], types: [ 1 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" "params" => [ 1 => 145 ] "types" => [ 1 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" (parameters: [ 1 => "ca" 2 => 145 ], types: [ 1 => 2 2 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" "params" => [ 1 => "ca" 2 => 145 ] "types" => [ 1 => 2 2 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" (parameters: [ 1 => 55 ], types: [ 1 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" "params" => [ 1 => 55 ] "types" => [ 1 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" (parameters: [ 1 => "ca" 2 => 99760 ], types: [ 1 => 2 2 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" "params" => [ 1 => "ca" 2 => 99760 ] "types" => [ 1 => 2 2 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" (parameters: [ 1 => 149 ], types: [ 1 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" "params" => [ 1 => 149 ] "types" => [ 1 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" (parameters: [ 1 => "ca" 2 => 149 ], types: [ 1 => 2 2 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" "params" => [ 1 => "ca" 2 => 149 ] "types" => [ 1 => 2 2 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" (parameters: [ 1 => 71 ], types: [ 1 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" "params" => [ 1 => 71 ] "types" => [ 1 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" (parameters: [ 1 => "ca" 2 => 99999 ], types: [ 1 => 2 2 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" "params" => [ 1 => "ca" 2 => 99999 ] "types" => [ 1 => 2 2 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" (parameters: [ 1 => 63 ], types: [ 1 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" "params" => [ 1 => 63 ] "types" => [ 1 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" (parameters: [ 1 => "ca" 2 => 88190 ], types: [ 1 => 2 2 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" "params" => [ 1 => "ca" 2 => 88190 ] "types" => [ 1 => 2 2 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" (parameters: [ 1 => 59 ], types: [ 1 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" "params" => [ 1 => 59 ] "types" => [ 1 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" (parameters: [ 1 => "ca" 2 => 70840 ], types: [ 1 => 2 2 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" "params" => [ 1 => "ca" 2 => 70840 ] "types" => [ 1 => 2 2 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" (parameters: [ 1 => 51 ], types: [ 1 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.id = ?" "params" => [ 1 => 51 ] "types" => [ 1 => 1 ] ] |
| debug |
Executing statement: "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" (parameters: [ 1 => "ca" 2 => 60722 ], types: [ 1 => 2 2 => 1 ])
doctrine
[ "sql" => "SELECT t0.id AS id_1, t0.slug AS slug_2, t0.group_page AS group_page_3, t0.lang AS lang_4, t0.status AS status_5, t0.title AS title_6, t0.str_html AS str_html_7, t0.json_back AS json_back_8, t0.date_created AS date_created_9, t0.default_page AS default_page_10 FROM api_pages t0 WHERE t0.lang = ? AND t0.group_page = ? LIMIT 1" "params" => [ 1 => "ca" 2 => 60722 ] "types" => [ 1 => 2 2 => 1 ] ] |
| debug |
Executing query: "SELECT identificador, valor_ca as texto FROM textos"
doctrine
[ "sql" => "SELECT identificador, valor_ca as texto FROM textos" ] |
| debug |
Executing query: "SELECT * FROM api_provinces WHERE id IN (33,34,35,36) ORDER BY name"
doctrine
[ "sql" => "SELECT * FROM api_provinces WHERE id IN (33,34,35,36) ORDER BY name" ] |
| debug |
Executing query: "SELECT * FROM api_provinces WHERE id NOT IN (33,34,35,36) ORDER BY name"
doctrine
[ "sql" => "SELECT * FROM api_provinces WHERE id NOT IN (33,34,35,36) ORDER BY name" ] |
| debug |
Executing query: "SELECT * FROM api_provinces WHERE friendly = 'barcelona' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_provinces WHERE friendly = 'barcelona' LIMIT 1" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 49"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 49" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 42"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 42" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 37"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 37" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 19"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 19" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 1"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 1" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 53"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 53" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 14"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 14" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 24"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 24" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 40"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 40" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 25"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 25" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 41"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 41" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 2"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 2" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 18"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 18" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 38"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 38" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 20"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 20" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 9"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 9" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 3"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 3" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 4"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 4" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 21"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 21" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 50"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 50" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 22"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 22" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 11"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 11" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 5"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 5" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 15"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 15" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 6"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 6" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 52"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 52" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 26"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 26" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 43"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 43" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 16"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 16" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 10"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 10" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 7"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 7" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 46"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 46" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 47"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 47" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 48"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 48" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 27"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 27" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 44"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 44" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 45"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 45" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 28"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 28" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 29"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 29" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 8"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 8" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 30"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 30" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 17"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 17" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 12"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 12" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 31"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 31" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 39"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 39" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 23"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 23" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 51"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 51" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 13"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 13" ] |
| debug |
Executing query: "SELECT count(*) as total FROM api_properties WHERE provincia = 32"
doctrine
[ "sql" => "SELECT count(*) as total FROM api_properties WHERE provincia = 32" ] |
| debug |
Executing query: "SELECT * FROM api_locations WHERE friendly = 'badalona' AND province= '33' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_locations WHERE friendly = 'badalona' AND province= '33' LIMIT 1" ] |
| debug |
Executing query: """ SELECT\n id_properties_supertype AS id,\n friendly,\n `TEXT` AS nom\n FROM api_properties_supertype s\n LEFT JOIN api_properties_supertype_i18n si ON s.id_properties_supertype = si.id AND cod_lang = 'ca_ES'\n ORDER BY s.id_properties_supertype """
doctrine
[ "sql" => """ SELECT\n id_properties_supertype AS id,\n friendly,\n `TEXT` AS nom\n FROM api_properties_supertype s\n LEFT JOIN api_properties_supertype_i18n si ON s.id_properties_supertype = si.id AND cod_lang = 'ca_ES'\n ORDER BY s.id_properties_supertype """ ] |
| debug |
Executing query: "SELECT codi FROM tipus_operacio WHERE friendly_ca = 'compra' LIMIT 1"
doctrine
[ "sql" => "SELECT codi FROM tipus_operacio WHERE friendly_ca = 'compra' LIMIT 1" ] |
| debug |
Executing query: "SELECT id_properties_supertype as idSuperTipusImmoble FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n si ON s.id_properties_supertype=si.id WHERE friendly = 'habitatges' AND cod_lang = 'ca_ES' LIMIT 1"
doctrine
[ "sql" => "SELECT id_properties_supertype as idSuperTipusImmoble FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n si ON s.id_properties_supertype=si.id WHERE friendly = 'habitatges' AND cod_lang = 'ca_ES' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_locations WHERE province = 33 AND name != '' AND orden >= 1 ORDER BY orden, name"
doctrine
[ "sql" => "SELECT * FROM api_locations WHERE province = 33 AND name != '' AND orden >= 1 ORDER BY orden, name" ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3430' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3430' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20065' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20065' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3757' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3757' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3890' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3890' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3423' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3423' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: "SELECT * FROM api_locations WHERE province = 33 AND name != '' AND orden = 0 ORDER BY name"
doctrine
[ "sql" => "SELECT * FROM api_locations WHERE province = 33 AND name != '' AND orden = 0 ORDER BY name" ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3399' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3399' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3400' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3400' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3401' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3401' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3402' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3402' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3403' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3403' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3404' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3404' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3405' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3405' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3406' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3406' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3407' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3407' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3408' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3408' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3410' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3410' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3409' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3409' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3411' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3411' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3412' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3412' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3413' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3413' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3414' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3414' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3415' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3415' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3417' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3417' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3416' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3416' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3418' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3418' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3419' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3419' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3420' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3420' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3421' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3421' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3422' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3422' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3424' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3424' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20053' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20053' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20055' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20055' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3425' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3425' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3426' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3426' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3427' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3427' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3428' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3428' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3429' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3429' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3431' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3431' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3432' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3432' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3433' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3433' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3434' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3434' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3436' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3436' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3435' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3435' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3437' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3437' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3438' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3438' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3439' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3439' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3440' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3440' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3441' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3441' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3442' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3442' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3443' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3443' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3444' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3444' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3445' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3445' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3446' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3446' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3447' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3447' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3448' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3448' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3449' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3449' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3450' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3450' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3451' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3451' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3452' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3452' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3454' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3454' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3453' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3453' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3455' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3455' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3456' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3456' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3457' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3457' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3458' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3458' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3459' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3459' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3461' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3461' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3460' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3460' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3462' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3462' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3463' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3463' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3464' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3464' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3465' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3465' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3466' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3466' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3467' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3467' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3468' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3468' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3469' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3469' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3470' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3470' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3471' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3471' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3473' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3473' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3472' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3472' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3474' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3474' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3475' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3475' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3476' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3476' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3477' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3477' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3478' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3478' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3479' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3479' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3481' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3481' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3480' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3480' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3482' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3482' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3483' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3483' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3484' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3484' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3485' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3485' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3486' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3486' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3487' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3487' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3488' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3488' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3489' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3489' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3490' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3490' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3491' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3491' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3492' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3492' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3493' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3493' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3494' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3494' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3496' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3496' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3495' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3495' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3497' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3497' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3498' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3498' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3499' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3499' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3500' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3500' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3502' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3502' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3501' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3501' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3503' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3503' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3504' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3504' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3505' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3505' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3506' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3506' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3507' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3507' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3508' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3508' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3509' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3509' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3510' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3510' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3511' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3511' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3512' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3512' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3513' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3513' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3514' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3514' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3515' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3515' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3516' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3516' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3517' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3517' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3518' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3518' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3519' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3519' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3520' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3520' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3521' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3521' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3523' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3523' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3522' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3522' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3524' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3524' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3525' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3525' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3526' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3526' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3527' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3527' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3528' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3528' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3529' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3529' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3530' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3530' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3531' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3531' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3533' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3533' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3532' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3532' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3534' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3534' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3535' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3535' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3536' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3536' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3537' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3537' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3538' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3538' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3540' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3540' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3539' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3539' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3541' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3541' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3542' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3542' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3543' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3543' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3545' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3545' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3544' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3544' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3546' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3546' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3547' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3547' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3548' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3548' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3549' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3549' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3550' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3550' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3551' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3551' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3552' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3552' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3553' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3553' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3554' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3554' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3555' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3555' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3556' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3556' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3557' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3557' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3558' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3558' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3559' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3559' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3560' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3560' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3561' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3561' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3562' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3562' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3563' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3563' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3564' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3564' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3565' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3565' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3566' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3566' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3567' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3567' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3568' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3568' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3569' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3569' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3570' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3570' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3571' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3571' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3572' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3572' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3573' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3573' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20060' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20060' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3574' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3574' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3575' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3575' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3576' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3576' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20062' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20062' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3577' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3577' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3578' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3578' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3579' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3579' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3580' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3580' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3581' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3581' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3582' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3582' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3583' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3583' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3584' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3584' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3585' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3585' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3586' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3586' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3587' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3587' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3588' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3588' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3589' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3589' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3590' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3590' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3591' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3591' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3592' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3592' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3593' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3593' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3594' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3594' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3595' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3595' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3596' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3596' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3597' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3597' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3598' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3598' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3599' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3599' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3600' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3600' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3602' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3602' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3601' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3601' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3603' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3603' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3604' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3604' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3605' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3605' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3606' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3606' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3607' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3607' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3608' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3608' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3609' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3609' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3610' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3610' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3612' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3612' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3611' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3611' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3613' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3613' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3615' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3615' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3616' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3616' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3617' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3617' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3618' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3618' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3619' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3619' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3620' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3620' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3621' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3621' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3622' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3622' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3623' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3623' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3624' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3624' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3625' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3625' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3626' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3626' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3627' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3627' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3628' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3628' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3629' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3629' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3630' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3630' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3631' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3631' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3632' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3632' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3633' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3633' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3634' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3634' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3635' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3635' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3636' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3636' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3637' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3637' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3638' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3638' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3639' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3639' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3640' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3640' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3641' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3641' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3643' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3643' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3642' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3642' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3644' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3644' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3645' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3645' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3646' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3646' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3647' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3647' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3648' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3648' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3649' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3649' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3650' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3650' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3651' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3651' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3652' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3652' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3653' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3653' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3654' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3654' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3655' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3655' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3656' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3656' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3657' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3657' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3659' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3659' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3658' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3658' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3660' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3660' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3661' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3661' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3662' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3662' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3663' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3663' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3664' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3664' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3665' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3665' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3667' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3667' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3666' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3666' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3668' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3668' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3669' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3669' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3670' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3670' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3671' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3671' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3672' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3672' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3673' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3673' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3674' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3674' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3675' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3675' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3676' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3676' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3677' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3677' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3679' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3679' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3678' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3678' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3680' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3680' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3682' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3682' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3681' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3681' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3683' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3683' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3684' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3684' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3685' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3685' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3686' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3686' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3687' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3687' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3688' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3688' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3689' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3689' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3690' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3690' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3691' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3691' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3692' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3692' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3693' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3693' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3694' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3694' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3695' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3695' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3696' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3696' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3697' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3697' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3698' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3698' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3699' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3699' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3700' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3700' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20071' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20071' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3701' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3701' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3702' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3702' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3703' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3703' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20072' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20072' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3704' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3704' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3705' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3705' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3706' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3706' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3707' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3707' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3708' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3708' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3709' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3709' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3710' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3710' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3711' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3711' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3712' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3712' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3713' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3713' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3714' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3714' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3715' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3715' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3716' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3716' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3717' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3717' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3718' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3718' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3719' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3719' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3720' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3720' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3721' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3721' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3722' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3722' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3723' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3723' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20076' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20076' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3724' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3724' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20077' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20077' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3725' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3725' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3726' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3726' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3727' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3727' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3728' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3728' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3729' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3729' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3730' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3730' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3733' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3733' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3732' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3732' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3731' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3731' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3734' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3734' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3736' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3736' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3735' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3735' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3737' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3737' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3738' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3738' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3739' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3739' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3740' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3740' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3741' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3741' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3742' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3742' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3743' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3743' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3745' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3745' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3744' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3744' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3746' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3746' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3747' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3747' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3748' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3748' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3749' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3749' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3750' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3750' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3751' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3751' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3752' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3752' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3753' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3753' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3754' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3754' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3755' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3755' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3756' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3756' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3758' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3758' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3759' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3759' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3760' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3760' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3761' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3761' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3762' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3762' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3763' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3763' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3764' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3764' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3765' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3765' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3766' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3766' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20081' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20081' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3767' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3767' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3768' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3768' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3769' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3769' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3770' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3770' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3771' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3771' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3772' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3772' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3774' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3774' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3773' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3773' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20082' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20082' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3775' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3775' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3776' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3776' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3777' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3777' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3778' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3778' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3779' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3779' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3780' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3780' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3781' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3781' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3782' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3782' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3784' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3784' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3783' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3783' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20083' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20083' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3786' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3786' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3785' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3785' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3787' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3787' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3788' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3788' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3789' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3789' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3790' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3790' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3791' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3791' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3792' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3792' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3794' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3794' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3793' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3793' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3795' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3795' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3796' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3796' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3797' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3797' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3798' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3798' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3799' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3799' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3800' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3800' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20084' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20084' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3801' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3801' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3802' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3802' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3804' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3804' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3803' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3803' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3805' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3805' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3806' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3806' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3807' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3807' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3809' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3809' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3808' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3808' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3810' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3810' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3811' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3811' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3812' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3812' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3813' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3813' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3815' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3815' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3814' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3814' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3816' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3816' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3817' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3817' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3818' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3818' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3819' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3819' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3820' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3820' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3821' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3821' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3823' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3823' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3822' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3822' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3824' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3824' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3825' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3825' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3826' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3826' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3827' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3827' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3828' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3828' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3829' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3829' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3830' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3830' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3831' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3831' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3833' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3833' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3832' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3832' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3834' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3834' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3835' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3835' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3836' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3836' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3837' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3837' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3839' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3839' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3838' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3838' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3840' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3840' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3841' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3841' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3842' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3842' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3843' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3843' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3844' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3844' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3845' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3845' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3846' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3846' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3847' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3847' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3848' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3848' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3849' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3849' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3850' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3850' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3852' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3852' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3851' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3851' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3853' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3853' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3855' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3855' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3854' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3854' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3856' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3856' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3857' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3857' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20185' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20185' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3865' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3865' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3866' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3866' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3859' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3859' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3858' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3858' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3860' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3860' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3861' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3861' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3862' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3862' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3863' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3863' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3864' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3864' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3867' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3867' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3868' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3868' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3869' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3869' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3870' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3870' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3871' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3871' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3872' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3872' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3873' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3873' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3874' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3874' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3875' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3875' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3877' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3877' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3876' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3876' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3878' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3878' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3879' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3879' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3880' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3880' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3881' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3881' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3882' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3882' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3883' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3883' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3885' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3885' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3884' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3884' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3886' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3886' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3888' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3888' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3887' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3887' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3889' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3889' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3891' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3891' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3892' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3892' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3893' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3893' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3894' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3894' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3897' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3897' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3895' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3895' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3896' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3896' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3898' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3898' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3899' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3899' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3900' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3900' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3902' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3902' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3901' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3901' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3903' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3903' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3904' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3904' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3906' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3906' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3905' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3905' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3907' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3907' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3908' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3908' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3909' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3909' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3911' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3911' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3910' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3910' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3912' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3912' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3913' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3913' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3914' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3914' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3915' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3915' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3916' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3916' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3917' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3917' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3918' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3918' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3919' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3919' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3920' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3920' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3921' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3921' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3922' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3922' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3923' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3923' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3924' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3924' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3926' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3926' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3925' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3925' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20092' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '20092' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3927' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3927' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3928' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3928' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3929' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3929' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3930' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3930' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3931' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3931' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3932' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3932' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3933' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3933' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3934' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3934' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3935' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3935' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3936' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3936' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3940' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3940' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3937' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3937' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3938' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3938' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3939' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3939' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3941' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3941' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3942' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3942' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3943' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3943' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3944' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3944' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3946' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3946' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3945' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3945' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3948' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3948' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3947' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3947' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3949' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3949' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3950' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3950' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: "SELECT * FROM api_zones WHERE location ='3423' ORDER BY name"
doctrine
[ "sql" => "SELECT * FROM api_zones WHERE location ='3423' ORDER BY name" ] |
| debug |
Executing query: "SELECT * FROM api_zones WHERE friendly = '' "
doctrine
[ "sql" => "SELECT * FROM api_zones WHERE friendly = '' " ] |
| debug |
Executing query: "SELECT * FROM preus_compra_cerca ORDER BY preu"
doctrine
[ "sql" => "SELECT * FROM preus_compra_cerca ORDER BY preu" ] |
| debug |
Executing query: "SELECT * FROM api_locations WHERE id='3423' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_locations WHERE id='3423' LIMIT 1" ] |
| debug |
Executing query: "SELECT text_seo_ca as text_seo FROM tipus_operacio WHERE codi = 2 LIMIT 1"
doctrine
[ "sql" => "SELECT text_seo_ca as text_seo FROM tipus_operacio WHERE codi = 2 LIMIT 1" ] |
| debug |
Executing query: "SELECT api_properties_subtypes_i18n.id FROM api_properties_subtypes_i18n INNER JOIN api_properties_subtypes ON api_properties_subtypes_i18n.id = api_properties_subtypes.id WHERE api_properties_subtypes_i18n.cod_lang='ca_ES' AND api_properties_subtypes_i18n.friendly='' ORDER BY id ASC LIMIT 1"
doctrine
[ "sql" => "SELECT api_properties_subtypes_i18n.id FROM api_properties_subtypes_i18n INNER JOIN api_properties_subtypes ON api_properties_subtypes_i18n.id = api_properties_subtypes.id WHERE api_properties_subtypes_i18n.cod_lang='ca_ES' AND api_properties_subtypes_i18n.friendly='' ORDER BY id ASC LIMIT 1" ] |
| debug |
Executing query: "SELECT type FROM api_properties_subtypes WHERE id='' limit 1"
doctrine
[ "sql" => "SELECT type FROM api_properties_subtypes WHERE id='' limit 1" ] |
| debug |
Executing query: """ SELECT bi.*, des.telef1 ,bi18.anuncio AS descrip\n \t\t\t\t\t\t\t,IF (superf_constr != '' AND superf_constr != '00' AND superf_constr !='0' , superf_constr, superf_util) AS superficie,\n \t\t\t\t\t\t\t bi.precio AS preu \t,bi.id_properties_subtype AS id_tipus,\n \t\t\t IF(bi.es_lloguer_temporada = 1, 7,\n IF(bi.es_banc = 1, 4,\n IF(bi.obra_nueva = 1, 3,\n IF(bi.alquiler = 1, 1, 2)\n )\n )\n ) operation,\n apitype.text as tipo_nombre FROM api_properties as bi LEFT JOIN api_properties_i18n AS bi18 ON (bi.id = bi18.id) AND bi18.cod_lang = 'ca_ES' \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE (IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE) = TRUE) AND ((IF(bi.obra_nueva=1 AND bi.num_fotos>=1, TRUE, FALSE) = TRUE) OR (IF(bi.obra_nueva=0 AND bi.num_fotos>=1, TRUE, FALSE) = TRUE)) AND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3423' AND bi.provincia = '33' GROUP BY bi.id ORDER BY destacado DESC, fecha_creacion DESC , num_fotos DESC, bi.id DESC LIMIT 18 """
doctrine
[ "sql" => """ SELECT bi.*, des.telef1 ,bi18.anuncio AS descrip\n \t\t\t\t\t\t\t,IF (superf_constr != '' AND superf_constr != '00' AND superf_constr !='0' , superf_constr, superf_util) AS superficie,\n \t\t\t\t\t\t\t bi.precio AS preu \t,bi.id_properties_subtype AS id_tipus,\n \t\t\t IF(bi.es_lloguer_temporada = 1, 7,\n IF(bi.es_banc = 1, 4,\n IF(bi.obra_nueva = 1, 3,\n IF(bi.alquiler = 1, 1, 2)\n )\n )\n ) operation,\n apitype.text as tipo_nombre FROM api_properties as bi LEFT JOIN api_properties_i18n AS bi18 ON (bi.id = bi18.id) AND bi18.cod_lang = 'ca_ES' \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE (IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE) = TRUE) AND ((IF(bi.obra_nueva=1 AND bi.num_fotos>=1, TRUE, FALSE) = TRUE) OR (IF(bi.obra_nueva=0 AND bi.num_fotos>=1, TRUE, FALSE) = TRUE)) AND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3423' AND bi.provincia = '33' GROUP BY bi.id ORDER BY destacado DESC, fecha_creacion DESC , num_fotos DESC, bi.id DESC LIMIT 18 """ ] |
| debug |
Executing query: """ SELECT bi.*, des.telef1 ,bi18.anuncio AS descrip\n \t\t\t\t\t\t\t,IF (superf_constr != '' AND superf_constr != '00' AND superf_constr !='0' , superf_constr, superf_util) AS superficie,\n \t\t\t\t\t\t\t bi.precio AS preu \t,bi.id_properties_subtype AS id_tipus,\n \t\t\t IF(bi.es_lloguer_temporada = 1, 7,\n IF(bi.es_banc = 1, 4,\n IF(bi.obra_nueva = 1, 3,\n IF(bi.alquiler = 1, 1, 2)\n )\n )\n ) operation,\n apitype.text as tipo_nombre FROM api_properties as bi LEFT JOIN api_properties_i18n AS bi18 ON (bi.id = bi18.id) AND bi18.cod_lang = 'ca_ES' \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE (IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE) = TRUE) AND ((IF(bi.obra_nueva=1 AND bi.num_fotos>=1, TRUE, FALSE) = TRUE) OR (IF(bi.obra_nueva=0 AND bi.num_fotos>=1, TRUE, FALSE) = TRUE)) AND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3423' AND bi.provincia = '33' GROUP BY bi.id ORDER BY destacado DESC, fecha_creacion DESC , num_fotos DESC, bi.id DESC """
doctrine
[ "sql" => """ SELECT bi.*, des.telef1 ,bi18.anuncio AS descrip\n \t\t\t\t\t\t\t,IF (superf_constr != '' AND superf_constr != '00' AND superf_constr !='0' , superf_constr, superf_util) AS superficie,\n \t\t\t\t\t\t\t bi.precio AS preu \t,bi.id_properties_subtype AS id_tipus,\n \t\t\t IF(bi.es_lloguer_temporada = 1, 7,\n IF(bi.es_banc = 1, 4,\n IF(bi.obra_nueva = 1, 3,\n IF(bi.alquiler = 1, 1, 2)\n )\n )\n ) operation,\n apitype.text as tipo_nombre FROM api_properties as bi LEFT JOIN api_properties_i18n AS bi18 ON (bi.id = bi18.id) AND bi18.cod_lang = 'ca_ES' \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE (IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE) = TRUE) AND ((IF(bi.obra_nueva=1 AND bi.num_fotos>=1, TRUE, FALSE) = TRUE) OR (IF(bi.obra_nueva=0 AND bi.num_fotos>=1, TRUE, FALSE) = TRUE)) AND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND id_properties_supertype = 1 AND bi.localidad = '3423' AND bi.provincia = '33' GROUP BY bi.id ORDER BY destacado DESC, fecha_creacion DESC , num_fotos DESC, bi.id DESC """ ] |
| debug |
Executing query: "SELECT text_seo_ca as text_seo FROM tipus_operacio WHERE codi = 2 LIMIT 1"
doctrine
[ "sql" => "SELECT text_seo_ca as text_seo FROM tipus_operacio WHERE codi = 2 LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_provinces WHERE id='33' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_provinces WHERE id='33' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_locations WHERE id='3423' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_locations WHERE id='3423' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_zones WHERE id='0' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_zones WHERE id='0' LIMIT 1" ] |
| debug |
Executing query: """ SELECT\n (SELECT value FROM api_properties_features WHERE id_property = '18' AND id_feature = 4) habitaciones,\n (SELECT value FROM api_properties_features WHERE id_property = '18' AND id_feature = 3) banyos """
doctrine
[ "sql" => """ SELECT\n (SELECT value FROM api_properties_features WHERE id_property = '18' AND id_feature = 4) habitaciones,\n (SELECT value FROM api_properties_features WHERE id_property = '18' AND id_feature = 3) banyos """ ] |
| debug |
Executing query: "SELECT * FROM api_locations WHERE id='3423' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_locations WHERE id='3423' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_provinces WHERE id='33' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_provinces WHERE id='33' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'ca_ES' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'ca_ES' LIMIT 1" ] |
| debug |
Executing query: "SELECT text FROM api_properties_subtypes a LEFT JOIN api_properties_subtypes_i18n b ON a.id=b.id WHERE cod_lang='ca_ES' AND a.id='10' limit 1"
doctrine
[ "sql" => "SELECT text FROM api_properties_subtypes a LEFT JOIN api_properties_subtypes_i18n b ON a.id=b.id WHERE cod_lang='ca_ES' AND a.id='10' limit 1" ] |
| debug |
Executing query: "SELECT text FROM api_properties_subtypes a LEFT JOIN api_properties_subtypes_i18n b ON a.id=b.id WHERE cod_lang='ca_ES' AND a.id='1' limit 1"
doctrine
[ "sql" => "SELECT text FROM api_properties_subtypes a LEFT JOIN api_properties_subtypes_i18n b ON a.id=b.id WHERE cod_lang='ca_ES' AND a.id='1' limit 1" ] |
| debug |
Executing query: "SELECT text_seo_ca as text_seo FROM tipus_operacio WHERE codi = 2 LIMIT 1"
doctrine
[ "sql" => "SELECT text_seo_ca as text_seo FROM tipus_operacio WHERE codi = 2 LIMIT 1" ] |
| debug |
Executing query: "SELECT i.text from api_properties_types t LEFT JOIN api_properties_types_i18n i ON t.id=i.id LEFT JOIN api_properties p ON t.id= p.id_properties_type WHERE p.id=18 AND i.cod_lang = 'ca_ES' LIMIT 1"
doctrine
[ "sql" => "SELECT i.text from api_properties_types t LEFT JOIN api_properties_types_i18n i ON t.id=i.id LEFT JOIN api_properties p ON t.id= p.id_properties_type WHERE p.id=18 AND i.cod_lang = 'ca_ES' LIMIT 1" ] |
| debug |
Executing query: """ SELECT value FROM api_properties_features\n WHERE id_property = '18'\n AND id_feature='1' """
doctrine
[ "sql" => """ SELECT value FROM api_properties_features\n WHERE id_property = '18'\n AND id_feature='1' """ ] |
| debug |
Executing query: """ SELECT value FROM api_properties_features pf \n WHERE pf.id_property = '18'\n AND id_feature IN (65,66,67,68,69,205,197,202,203,204) """
doctrine
[ "sql" => """ SELECT value FROM api_properties_features pf \n WHERE pf.id_property = '18'\n AND id_feature IN (65,66,67,68,69,205,197,202,203,204) """ ] |
| debug |
Executing query: "SELECT valor_ca as text FROM textos WHERE identificador = 'semi_nuevo'"
doctrine
[ "sql" => "SELECT valor_ca as text FROM textos WHERE identificador = 'semi_nuevo'" ] |
| debug |
Executing query: "SELECT identificador, valor_ca as texto FROM textos"
doctrine
[ "sql" => "SELECT identificador, valor_ca as texto FROM textos" ] |
| debug |
Executing query: "SELECT * FROM api_locations WHERE id='3423' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_locations WHERE id='3423' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'ca_ES' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'ca_ES' LIMIT 1" ] |
| debug |
Executing query: "SELECT friendly_ca as friendly FROM tipus_operacio WHERE codi = 2 LIMIT 1"
doctrine
[ "sql" => "SELECT friendly_ca as friendly FROM tipus_operacio WHERE codi = 2 LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_provinces WHERE id='33' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_provinces WHERE id='33' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_zones WHERE id='0' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_zones WHERE id='0' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_provinces WHERE id='33' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_provinces WHERE id='33' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_locations WHERE id='3423' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_locations WHERE id='3423' LIMIT 1" ] |
| debug |
Executing query: "SELECT i.text from api_properties_types t LEFT JOIN api_properties_types_i18n i ON t.id=i.id LEFT JOIN api_properties p ON t.id= p.id_properties_type WHERE p.id=18 AND i.cod_lang = 'ca_ES' LIMIT 1"
doctrine
[ "sql" => "SELECT i.text from api_properties_types t LEFT JOIN api_properties_types_i18n i ON t.id=i.id LEFT JOIN api_properties p ON t.id= p.id_properties_type WHERE p.id=18 AND i.cod_lang = 'ca_ES' LIMIT 1" ] |
| debug |
Executing query: "SELECT text_seo_ca as text_seo FROM tipus_operacio WHERE codi = 2 LIMIT 1"
doctrine
[ "sql" => "SELECT text_seo_ca as text_seo FROM tipus_operacio WHERE codi = 2 LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_provinces WHERE id='33' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_provinces WHERE id='33' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_locations WHERE id='3423' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_locations WHERE id='3423' LIMIT 1" ] |
| debug |
Executing query: """ SELECT\n (SELECT value FROM api_properties_features WHERE id_property = '14' AND id_feature = 4) habitaciones,\n (SELECT value FROM api_properties_features WHERE id_property = '14' AND id_feature = 3) banyos """
doctrine
[ "sql" => """ SELECT\n (SELECT value FROM api_properties_features WHERE id_property = '14' AND id_feature = 4) habitaciones,\n (SELECT value FROM api_properties_features WHERE id_property = '14' AND id_feature = 3) banyos """ ] |
| debug |
Executing query: "SELECT * FROM api_zones WHERE id='0' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_zones WHERE id='0' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_provinces WHERE id='33' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_provinces WHERE id='33' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_locations WHERE id='3423' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_locations WHERE id='3423' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'ca_ES' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'ca_ES' LIMIT 1" ] |
| debug |
Executing query: "SELECT text FROM api_properties_subtypes a LEFT JOIN api_properties_subtypes_i18n b ON a.id=b.id WHERE cod_lang='ca_ES' AND a.id='29' limit 1"
doctrine
[ "sql" => "SELECT text FROM api_properties_subtypes a LEFT JOIN api_properties_subtypes_i18n b ON a.id=b.id WHERE cod_lang='ca_ES' AND a.id='29' limit 1" ] |
| debug |
Executing query: "SELECT text FROM api_properties_subtypes a LEFT JOIN api_properties_subtypes_i18n b ON a.id=b.id WHERE cod_lang='ca_ES' AND a.id='1' limit 1"
doctrine
[ "sql" => "SELECT text FROM api_properties_subtypes a LEFT JOIN api_properties_subtypes_i18n b ON a.id=b.id WHERE cod_lang='ca_ES' AND a.id='1' limit 1" ] |
| debug |
Executing query: "SELECT text_seo_ca as text_seo FROM tipus_operacio WHERE codi = 2 LIMIT 1"
doctrine
[ "sql" => "SELECT text_seo_ca as text_seo FROM tipus_operacio WHERE codi = 2 LIMIT 1" ] |
| debug |
Executing query: """ SELECT value FROM api_properties_features pf \n WHERE pf.id_property = '14'\n AND id_feature IN (65,66,67,68,69,205,197,202,203,204) """
doctrine
[ "sql" => """ SELECT value FROM api_properties_features pf \n WHERE pf.id_property = '14'\n AND id_feature IN (65,66,67,68,69,205,197,202,203,204) """ ] |
| debug |
Executing query: "SELECT i.text from api_properties_types t LEFT JOIN api_properties_types_i18n i ON t.id=i.id LEFT JOIN api_properties p ON t.id= p.id_properties_type WHERE p.id=14 AND i.cod_lang = 'ca_ES' LIMIT 1"
doctrine
[ "sql" => "SELECT i.text from api_properties_types t LEFT JOIN api_properties_types_i18n i ON t.id=i.id LEFT JOIN api_properties p ON t.id= p.id_properties_type WHERE p.id=14 AND i.cod_lang = 'ca_ES' LIMIT 1" ] |
| debug |
Executing query: """ SELECT value FROM api_properties_features\n WHERE id_property = '14'\n AND id_feature='1' """
doctrine
[ "sql" => """ SELECT value FROM api_properties_features\n WHERE id_property = '14'\n AND id_feature='1' """ ] |
| debug |
Executing query: "SELECT identificador, valor_ca as texto FROM textos"
doctrine
[ "sql" => "SELECT identificador, valor_ca as texto FROM textos" ] |
| debug |
Executing query: "SELECT * FROM api_locations WHERE id='3423' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_locations WHERE id='3423' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_provinces WHERE id='33' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_provinces WHERE id='33' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'ca_ES' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'ca_ES' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_zones WHERE id='0' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_zones WHERE id='0' LIMIT 1" ] |
| debug |
Executing query: "SELECT friendly_ca as friendly FROM tipus_operacio WHERE codi = 2 LIMIT 1"
doctrine
[ "sql" => "SELECT friendly_ca as friendly FROM tipus_operacio WHERE codi = 2 LIMIT 1" ] |
| debug |
Executing query: "SELECT i.text from api_properties_types t LEFT JOIN api_properties_types_i18n i ON t.id=i.id LEFT JOIN api_properties p ON t.id= p.id_properties_type WHERE p.id=14 AND i.cod_lang = 'ca_ES' LIMIT 1"
doctrine
[ "sql" => "SELECT i.text from api_properties_types t LEFT JOIN api_properties_types_i18n i ON t.id=i.id LEFT JOIN api_properties p ON t.id= p.id_properties_type WHERE p.id=14 AND i.cod_lang = 'ca_ES' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_locations WHERE id='3423' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_locations WHERE id='3423' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_provinces WHERE id='33' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_provinces WHERE id='33' LIMIT 1" ] |
| debug |
Executing query: "SELECT valor_ca as text FROM textos WHERE identificador = 'cercador_lloguer'"
doctrine
[ "sql" => "SELECT valor_ca as text FROM textos WHERE identificador = 'cercador_lloguer'" ] |
| debug |
Executing query: "SELECT valor_ca as text FROM textos WHERE identificador = 'tabs_venda'"
doctrine
[ "sql" => "SELECT valor_ca as text FROM textos WHERE identificador = 'tabs_venda'" ] |
| debug |
Executing query: "SELECT valor_ca as text FROM textos WHERE identificador = 'alquilar'"
doctrine
[ "sql" => "SELECT valor_ca as text FROM textos WHERE identificador = 'alquilar'" ] |
| debug |
Executing query: "SELECT valor_ca as text FROM textos WHERE identificador = 'comprar_text'"
doctrine
[ "sql" => "SELECT valor_ca as text FROM textos WHERE identificador = 'comprar_text'" ] |
| debug |
Executing query: "SELECT valor_ca as text FROM textos WHERE identificador = 'cercador_duplex'"
doctrine
[ "sql" => "SELECT valor_ca as text FROM textos WHERE identificador = 'cercador_duplex'" ] |
| debug |
Executing query: "SELECT valor_ca as text FROM textos WHERE identificador = 'cercador_atic'"
doctrine
[ "sql" => "SELECT valor_ca as text FROM textos WHERE identificador = 'cercador_atic'" ] |
| debug |
Executing query: "SELECT friendly FROM api_properties_subtypes_i18n WHERE cod_lang='ca_ES' AND id in (1)"
doctrine
[ "sql" => "SELECT friendly FROM api_properties_subtypes_i18n WHERE cod_lang='ca_ES' AND id in (1)" ] |
| debug |
Executing query: "SELECT valor_ca as text FROM textos WHERE identificador = 'signia_trobats'"
doctrine
[ "sql" => "SELECT valor_ca as text FROM textos WHERE identificador = 'signia_trobats'" ] |
| debug |
Executing query: "SELECT friendly FROM api_properties_subtypes_i18n WHERE cod_lang='ca_ES' AND id in (2)"
doctrine
[ "sql" => "SELECT friendly FROM api_properties_subtypes_i18n WHERE cod_lang='ca_ES' AND id in (2)" ] |
| debug |
Executing query: "SELECT friendly FROM api_properties_subtypes_i18n WHERE cod_lang='ca_ES' AND id in (19)"
doctrine
[ "sql" => "SELECT friendly FROM api_properties_subtypes_i18n WHERE cod_lang='ca_ES' AND id in (19)" ] |
| debug |
Executing query: "SELECT friendly FROM api_properties_subtypes_i18n WHERE cod_lang='ca_ES' AND id in (35)"
doctrine
[ "sql" => "SELECT friendly FROM api_properties_subtypes_i18n WHERE cod_lang='ca_ES' AND id in (35)" ] |
| debug |
Executing query: "SELECT friendly,name FROM api_locations WHERE id='3423'"
doctrine
[ "sql" => "SELECT friendly,name FROM api_locations WHERE id='3423'" ] |
| debug |
Executing query: """ SELECT\n id_properties_supertype AS id,\n friendly,\n `TEXT` AS nom\n FROM api_properties_supertype s\n LEFT JOIN api_properties_supertype_i18n si ON s.id_properties_supertype = si.id AND cod_lang = 'ca_ES'\n ORDER BY s.id_properties_supertype """
doctrine
[ "sql" => """ SELECT\n id_properties_supertype AS id,\n friendly,\n `TEXT` AS nom\n FROM api_properties_supertype s\n LEFT JOIN api_properties_supertype_i18n si ON s.id_properties_supertype = si.id AND cod_lang = 'ca_ES'\n ORDER BY s.id_properties_supertype """ ] |
| debug |
Executing query: "SELECT codi FROM tipus_operacio WHERE friendly_ca = '2' LIMIT 1"
doctrine
[ "sql" => "SELECT codi FROM tipus_operacio WHERE friendly_ca = '2' LIMIT 1" ] |
| debug |
Executing query: "SELECT id_properties_supertype as idSuperTipusImmoble FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n si ON s.id_properties_supertype=si.id WHERE friendly = '2' AND cod_lang = 'ca' LIMIT 1"
doctrine
[ "sql" => "SELECT id_properties_supertype as idSuperTipusImmoble FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n si ON s.id_properties_supertype=si.id WHERE friendly = '2' AND cod_lang = 'ca' LIMIT 1" ] |
| debug |
Executing query: "SELECT friendly_ca FROM tipus_operacio WHERE codi = '1' LIMIT 1"
doctrine
[ "sql" => "SELECT friendly_ca FROM tipus_operacio WHERE codi = '1' LIMIT 1" ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'ca_ES' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'ca_ES' LIMIT 1" ] |
| debug |
Executing query: "SELECT friendly_ca FROM tipus_operacio WHERE codi = '2' LIMIT 1"
doctrine
[ "sql" => "SELECT friendly_ca FROM tipus_operacio WHERE codi = '2' LIMIT 1" ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND id_properties_supertype = 1|28|32|10 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND id_properties_supertype = 1|28|32|10 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND id_properties_supertype = 2|11|20|29|33|36 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND id_properties_supertype = 2|11|20|29|33|36 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND id_properties_supertype = 19 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND id_properties_supertype = 19 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND id_properties_supertype = 35 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND id_properties_supertype = 35 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND bi.obra_nueva = 1 AND ((IF (bi.obra_nueva = 1 AND bi.alquiler = 0, IF (bi.precio > 0, TRUE, FALSE), TRUE) = TRUE) OR\t(IF (bi.obra_nueva = 1 AND bi.alquiler = 1, IF (bi.precio_alquiler > 0, TRUE, FALSE), TRUE) = TRUE) OR\t(IF (bi.obra_nueva = 1 AND bi.alquiler = 2, IF (bi.precio > 0 AND bi.precio_alquiler > 0, TRUE, FALSE), TRUE) = TRUE)) AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND bi.obra_nueva = 1 AND ((IF (bi.obra_nueva = 1 AND bi.alquiler = 0, IF (bi.precio > 0, TRUE, FALSE), TRUE) = TRUE) OR\t(IF (bi.obra_nueva = 1 AND bi.alquiler = 1, IF (bi.precio_alquiler > 0, TRUE, FALSE), TRUE) = TRUE) OR\t(IF (bi.obra_nueva = 1 AND bi.alquiler = 2, IF (bi.precio > 0 AND bi.precio_alquiler > 0, TRUE, FALSE), TRUE) = TRUE)) AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND bi.es_banc = 1 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND bi.es_banc = 1 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND bi.es_subhasta = 1 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND bi.es_subhasta = 1 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND bi.es_lloguer_temporada = 1 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND bi.es_lloguer_temporada = 1 AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.localidad = '2' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: "SELECT friendly_ca FROM tipus_operacio WHERE codi = '1' LIMIT 1"
doctrine
[ "sql" => "SELECT friendly_ca FROM tipus_operacio WHERE codi = '1' LIMIT 1" ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'ca_ES' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'ca_ES' LIMIT 1" ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND id_properties_supertype = 1|28|32|10 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND id_properties_supertype = 1|28|32|10 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND id_properties_supertype = 2|11|20|29|33|36 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND id_properties_supertype = 2|11|20|29|33|36 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND id_properties_supertype = 19 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND id_properties_supertype = 19 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND id_properties_supertype = 35 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=1 OR bi.alquiler=2) AND bi.precio_alquiler > 0 AND id_properties_supertype = 35 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.precio > 0 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND bi.obra_nueva = 1 AND ((IF (bi.obra_nueva = 1 AND bi.alquiler = 0, IF (bi.precio > 0, TRUE, FALSE), TRUE) = TRUE) OR\t(IF (bi.obra_nueva = 1 AND bi.alquiler = 1, IF (bi.precio_alquiler > 0, TRUE, FALSE), TRUE) = TRUE) OR\t(IF (bi.obra_nueva = 1 AND bi.alquiler = 2, IF (bi.precio > 0 AND bi.precio_alquiler > 0, TRUE, FALSE), TRUE) = TRUE)) AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND bi.obra_nueva = 1 AND ((IF (bi.obra_nueva = 1 AND bi.alquiler = 0, IF (bi.precio > 0, TRUE, FALSE), TRUE) = TRUE) OR\t(IF (bi.obra_nueva = 1 AND bi.alquiler = 1, IF (bi.precio_alquiler > 0, TRUE, FALSE), TRUE) = TRUE) OR\t(IF (bi.obra_nueva = 1 AND bi.alquiler = 2, IF (bi.precio > 0 AND bi.precio_alquiler > 0, TRUE, FALSE), TRUE) = TRUE)) AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND bi.es_subhasta = 1 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND bi.es_subhasta = 1 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND bi.es_banc = 1 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND bi.es_banc = 1 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND bi.es_lloguer_temporada = 1 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND bi.es_lloguer_temporada = 1 AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """
doctrine
[ "sql" => """ SELECT COUNT(id) AS id\n FROM (SELECT bi.id AS id FROM api_properties as bi \n \t\t INNER JOIN api_despachos AS desps ON bi.id_colegiado = desps.idcens\n \t\t INNER JOIN api_censados AS cen ON bi.id_colegiado = cen.idcens\n \t\t INNER JOIN api_despacho AS des ON desps.idcens = des.idcens\n \t\t INNER JOIN api_properties_types_i18n AS apitype ON apitype.id = bi.id_properties_type AND apitype.cod_lang = 'ca_ES' WHERE IF (bi.contrato_exclusividad = 1, IF (bi.fecha_caducidad != '0000-00-00' AND bi.fecha_caducidad > '2026-06-19', TRUE, FALSE), TRUE)\n \t\t\tAND bi.num_fotos > 0 AND (bi.alquiler=0 OR bi.alquiler=2) AND bi.localidad = '1' AND bi.provincia = '33' GROUP BY bi.id ) AS CONTADOR """ ] |
| debug |
Executing query: """ \n \t\t\tSELECT \n \t\t\t\tnom, friendly_ca,text_seo_ca, codi \n \t\t\tFROM \n \t\t\t\ttipus_operacio \n \t\t\tWHERE \n \t\t\t\tcodi IN (\n \t\t\t\t\tSELECT \n \t\t\t\t\t\tDISTINCT(\n \t\t\t\t\t\t\tIF (obra_nueva = 1, '3', \n \t\t\t\t\t\t\t\tIF(es_banc=1, '4', \n \t\t\t\t\t\t\t\t\tIF(es_lloguer_temporada = 1, '7', \n \t\t\t\t\t\t\t\t\t\tIF(alquiler = 0, '2', '1')\n \t\t\t\t\t\t\t\t\t)\n \t\t\t\t\t\t\t\t)\n \t\t\t\t\t\t\t)\n \t\t\t\t\t\t) AS idoperacion FROM api_properties\n \t\t\t\t) """
doctrine
[ "sql" => """ \n \t\t\tSELECT \n \t\t\t\tnom, friendly_ca,text_seo_ca, codi \n \t\t\tFROM \n \t\t\t\ttipus_operacio \n \t\t\tWHERE \n \t\t\t\tcodi IN (\n \t\t\t\t\tSELECT \n \t\t\t\t\t\tDISTINCT(\n \t\t\t\t\t\t\tIF (obra_nueva = 1, '3', \n \t\t\t\t\t\t\t\tIF(es_banc=1, '4', \n \t\t\t\t\t\t\t\t\tIF(es_lloguer_temporada = 1, '7', \n \t\t\t\t\t\t\t\t\t\tIF(alquiler = 0, '2', '1')\n \t\t\t\t\t\t\t\t\t)\n \t\t\t\t\t\t\t\t)\n \t\t\t\t\t\t\t)\n \t\t\t\t\t\t) AS idoperacion FROM api_properties\n \t\t\t\t) """ ] |
| debug |
Executing query: "SELECT * FROM api_provinces WHERE friendly ='barcelona' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_provinces WHERE friendly ='barcelona' LIMIT 1" ] |
| debug |
Executing query: "SELECT slug, text FROM api_agency_description WHERE lang = 'ca'"
doctrine
[ "sql" => "SELECT slug, text FROM api_agency_description WHERE lang = 'ca'" ] |
| debug |
Executing query: "SELECT friendly_ca FROM tipus_operacio WHERE codi = '2' LIMIT 1"
doctrine
[ "sql" => "SELECT friendly_ca FROM tipus_operacio WHERE codi = '2' LIMIT 1" ] |
| debug |
Executing query: "SELECT codi FROM tipus_operacio WHERE friendly_ca = 'compra' LIMIT 1"
doctrine
[ "sql" => "SELECT codi FROM tipus_operacio WHERE friendly_ca = 'compra' LIMIT 1" ] |
| debug |
Executing query: "SELECT id FROM api_properties_supertype_i18n WHERE friendly = 'habitatges'"
doctrine
[ "sql" => "SELECT id FROM api_properties_supertype_i18n WHERE friendly = 'habitatges'" ] |
| debug |
Executing query: "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'ca_ES' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'ca_ES' LIMIT 1" ] |
| debug |
Executing query: "SELECT codi FROM tipus_operacio WHERE friendly_en = 'compra' LIMIT 1"
doctrine
[ "sql" => "SELECT codi FROM tipus_operacio WHERE friendly_en = 'compra' LIMIT 1" ] |
| debug |
Executing query: "SELECT id FROM api_properties_supertype_i18n WHERE friendly = 'habitatges'"
doctrine
[ "sql" => "SELECT id FROM api_properties_supertype_i18n WHERE friendly = 'habitatges'" ] |
| debug |
Executing query: "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'en_US' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'en_US' LIMIT 1" ] |
| debug |
Executing query: "SELECT friendly_en FROM tipus_operacio WHERE codi = '2' LIMIT 1"
doctrine
[ "sql" => "SELECT friendly_en FROM tipus_operacio WHERE codi = '2' LIMIT 1" ] |
| debug |
Executing query: "SELECT codi FROM tipus_operacio WHERE friendly_es = 'compra' LIMIT 1"
doctrine
[ "sql" => "SELECT codi FROM tipus_operacio WHERE friendly_es = 'compra' LIMIT 1" ] |
| debug |
Executing query: "SELECT id FROM api_properties_supertype_i18n WHERE friendly = 'habitatges'"
doctrine
[ "sql" => "SELECT id FROM api_properties_supertype_i18n WHERE friendly = 'habitatges'" ] |
| debug |
Executing query: "SELECT friendly_es FROM tipus_operacio WHERE codi = '2' LIMIT 1"
doctrine
[ "sql" => "SELECT friendly_es FROM tipus_operacio WHERE codi = '2' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'es_ES' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'es_ES' LIMIT 1" ] |
| debug |
Executing query: "SELECT codi FROM tipus_operacio WHERE friendly_fr = 'compra' LIMIT 1"
doctrine
[ "sql" => "SELECT codi FROM tipus_operacio WHERE friendly_fr = 'compra' LIMIT 1" ] |
| debug |
Executing query: "SELECT id FROM api_properties_supertype_i18n WHERE friendly = 'habitatges'"
doctrine
[ "sql" => "SELECT id FROM api_properties_supertype_i18n WHERE friendly = 'habitatges'" ] |
| debug |
Executing query: "SELECT friendly_fr FROM tipus_operacio WHERE codi = '2' LIMIT 1"
doctrine
[ "sql" => "SELECT friendly_fr FROM tipus_operacio WHERE codi = '2' LIMIT 1" ] |
| debug |
Executing query: "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'fr_FR' LIMIT 1"
doctrine
[ "sql" => "SELECT * FROM api_properties_supertype s LEFT JOIN api_properties_supertype_i18n i ON (s.id_properties_supertype=i.id) WHERE id_properties_supertype = '1' AND cod_lang = 'fr_FR' LIMIT 1" ] |
| debug |
Executing query: """ SELECT friendly FROM api_properties_supertype_i18n WHERE id =\n (SELECT id FROM api_properties_supertype_i18n WHERE friendly = 'habitatges' LIMIT 1)\n AND cod_lang = 'ca_ES' """
doctrine
[ "sql" => """ SELECT friendly FROM api_properties_supertype_i18n WHERE id =\n (SELECT id FROM api_properties_supertype_i18n WHERE friendly = 'habitatges' LIMIT 1)\n AND cod_lang = 'ca_ES' """ ] |
| debug |
Executing query: """ SELECT\n friendly_ca\n FROM\n tipus_operacio\n WHERE\n idTipusOperacio = (SELECT idTipusOperacio FROM tipus_operacio WHERE friendly_es = 'compra' || friendly_ca = 'compra' || friendly_en = 'compra') """
doctrine
[ "sql" => """ SELECT\n friendly_ca\n FROM\n tipus_operacio\n WHERE\n idTipusOperacio = (SELECT idTipusOperacio FROM tipus_operacio WHERE friendly_es = 'compra' || friendly_ca = 'compra' || friendly_en = 'compra') """ ] |
| debug |
Notified event "kernel.response" to listener "Symfony\Component\WebLink\EventListener\AddLinkHeaderListener::onKernelResponse".
event
[ "event" => "kernel.response" "listener" => "Symfony\Component\WebLink\EventListener\AddLinkHeaderListener::onKernelResponse" ] |
| debug |
Notified event "kernel.response" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelResponse".
event
[ "event" => "kernel.response" "listener" => "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelResponse" ] |
| debug |
Notified event "kernel.response" to listener "Symfony\Component\Security\Http\RememberMe\ResponseListener::onKernelResponse".
event
[ "event" => "kernel.response" "listener" => "Symfony\Component\Security\Http\RememberMe\ResponseListener::onKernelResponse" ] |
| debug |
Notified event "kernel.response" to listener "Symfony\Component\Security\Http\Firewall\ContextListener::onKernelResponse".
event
[ "event" => "kernel.response" "listener" => "Symfony\Component\Security\Http\Firewall\ContextListener::onKernelResponse" ] |
| debug |
Notified event "kernel.response" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelResponse".
event
[ "event" => "kernel.response" "listener" => "Nelmio\CorsBundle\EventListener\CorsListener::onKernelResponse" ] |
| debug |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse".
event
[ "event" => "kernel.response" "listener" => "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse" ] |
| debug |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelResponse".
event
[ "event" => "kernel.response" "listener" => "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelResponse" ] |
| debug |
Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest".
event
[ "event" => "kernel.finish_request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest" ] |
| debug |
Notified event "kernel.finish_request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelFinishRequest".
event
[ "event" => "kernel.finish_request" "listener" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelFinishRequest" ] |
| debug |
Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onFinishRequest".
event
[ "event" => "kernel.finish_request" "listener" => "Symfony\Component\HttpKernel\EventListener\SessionListener::onFinishRequest" ] |
| debug |
Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest".
event
[ "event" => "kernel.finish_request" "listener" => "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest" ] |
| debug |
Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest".
event
[ "event" => "kernel.finish_request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest" ] |
| debug |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\StreamedResponseListener::onKernelResponse".
event
[ "event" => "kernel.response" "listener" => "Symfony\Component\HttpKernel\EventListener\StreamedResponseListener::onKernelResponse" ] |
| debug |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse".
event
[ "event" => "kernel.response" "listener" => "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse" ] |
| debug |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener::onResponse".
event
[ "event" => "kernel.response" "listener" => "Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener::onResponse" ] |
| debug |
Notified event "kernel.response" to listener "Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener::onKernelResponse".
event
[ "event" => "kernel.response" "listener" => "Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener::onKernelResponse" ] |
| debug |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::removeCspHeader".
event
[ "event" => "kernel.response" "listener" => "Symfony\Component\HttpKernel\EventListener\ErrorListener::removeCspHeader" ] |
| debug |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse".
event
[ "event" => "kernel.response" "listener" => "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse" ] |
| debug |
Notified event "kernel.response" to listener "Nelmio\CorsBundle\EventListener\CacheableResponseVaryListener::onResponse".
event
[ "event" => "kernel.response" "listener" => "Nelmio\CorsBundle\EventListener\CacheableResponseVaryListener::onResponse" ] |
There are no log messages.
Container Compilation Logs (967)
Log messages generated during the compilation of the service container.
| Messages | Class |
|---|---|
| 125 |
|
| 201 |
|
| 81 |
|
| 106 |
|
| 165 |
|
| 289 |
|