Skip to content

Commit b65dbe5

Browse files
committed
for mariadb, use jq for simplifying when user requests nested fields, correct logic test
1 parent 8e147f9 commit b65dbe5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/query.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,7 @@ docdb_query.src_mariadb <- function(src, key, query, ...) {
15621562
# special case: if no query and only root includeFields, no need for jq
15631563
if (!length(fldQ$queryCondition) &&
15641564
!length(fldQ$excludeFields) &&
1565-
length(fldQ$includeFields) &&
1565+
any(length(fldQ$includeFields)) &&
15661566
!grepl(".", fldQ$includeFields, fixed = TRUE)) fldQ$includeFields <-
15671567
character(0L)
15681568
#

0 commit comments

Comments
 (0)