Skip to content

Commit

Permalink
Change reference keys on aggregate data summation query
Browse files Browse the repository at this point in the history
  • Loading branch information
josephatJ committed Jul 31, 2024
1 parent 4dd185d commit cb1a73f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ public interface DatastoreRepository extends JpaRepository<Datastore, Long> {
"FROM datastore," +
"JSON_TABLE(datastore.value, '$.data[*]'" +
" COLUMNS (" +
" de VARCHAR(255) PATH '$.de'," +
" co VARCHAR(255) PATH '$.co'," +
" de VARCHAR(255) PATH '$.dataElement'," +
" co VARCHAR(255) PATH '$.categoryOptionCombo'," +
" dataValue INT PATH '$.value'" +
" )" +
") AS jsonTable" +
Expand Down

0 comments on commit cb1a73f

Please sign in to comment.