@@ -262,16 +262,16 @@ impl ViewerCachedEntity {
262
262
CachedClusteredEntity ,
263
263
r#"
264
264
SELECT
265
- id as "id!",
266
- entity_id as "entity_id!",
267
- category_id as "category_id!",
268
- family_id as "family_id!",
269
- display_name as "display_name!",
265
+ id AS "id!",
266
+ entity_id AS "entity_id!",
267
+ category_id AS "category_id!",
268
+ family_id AS "family_id!",
269
+ display_name AS "display_name!",
270
270
parent_id,
271
271
parent_display_name,
272
- web_mercator_x as "web_mercator_x!",
273
- web_mercator_y as "web_mercator_y!",
274
- plain_text_location as "plain_text_location!",
272
+ web_mercator_x AS "web_mercator_x!",
273
+ web_mercator_y AS "web_mercator_y!",
274
+ plain_text_location AS "plain_text_location!",
275
275
cluster_id,
276
276
cluster_center_x,
277
277
cluster_center_y
@@ -383,16 +383,16 @@ impl ViewerCachedEntity {
383
383
PaginatedCachedEntity ,
384
384
r#"
385
385
SELECT
386
- id as "id!",
387
- entity_id as "entity_id!",
388
- category_id as "category_id!",
389
- family_id as "family_id!",
390
- display_name as "display_name!",
391
- parents as "parents!: Json<Vec<ParentRepresentation>>",
392
- locations as "locations!: Json<Vec<LocationRepresentation>>",
393
- total_results as "total_results!",
394
- total_pages as "total_pages!",
395
- response_current_page as "response_current_page!"
386
+ id AS "id!",
387
+ entity_id AS "entity_id!",
388
+ category_id AS "category_id!",
389
+ family_id AS "family_id!",
390
+ display_name AS "display_name!",
391
+ parents AS "parents!: Json<Vec<ParentRepresentation>>",
392
+ locations AS "locations!: Json<Vec<LocationRepresentation>>",
393
+ total_results AS "total_results!",
394
+ total_pages AS "total_pages!",
395
+ response_current_page AS "response_current_page!"
396
396
FROM search_entities(
397
397
$1,
398
398
$2,
@@ -459,16 +459,16 @@ impl AdminCachedEntity {
459
459
AdminPaginatedCachedEntity ,
460
460
r#"
461
461
SELECT
462
- id as "id!",
463
- entity_id as "entity_id!",
464
- category_id as "category_id!",
465
- tags_ids as "tags_ids!",
466
- family_id as "family_id!",
467
- display_name as "display_name!",
468
- total_results as "total_results!",
469
- total_pages as "total_pages!",
470
- response_current_page as "response_current_page!",
471
- hidden as "hidden!"
462
+ id AS "id!",
463
+ entity_id AS "entity_id!",
464
+ category_id AS "category_id!",
465
+ tags_ids AS "tags_ids!",
466
+ family_id AS "family_id!",
467
+ display_name AS "display_name!",
468
+ total_results AS "total_results!",
469
+ total_pages AS "total_pages!",
470
+ response_current_page AS "response_current_page!",
471
+ hidden AS "hidden!"
472
472
FROM search_entities_admin(
473
473
$1,
474
474
$2,
0 commit comments