2,832 questions
2 votes
1 answer
72 views
How to use jsonb functions in hibernate 6?
We use Postgres jsonb_agg function in criteria query API like this: cb.function( JSONB_AGG_FUNCTION_NAME, JsonNode.class, someJoin.get(someField) ...
1 vote
0 answers
37 views
Is any way to write SQL rank window function throw Criteria API builder?
I have query like this. select * from ( select *, rank() over (partition by some_id order by some_date desc) rk from table1 ) t1 where t1.rk = 1 I need to do this in CriteriaApi. Actually, I ...
0 votes
0 answers
35 views
Finding number range subject to multiple criteria in R [duplicate]
I need to find the range for the chromosome regions of my results following a number of criteria, and I'm really struggling to figure out how to do this in R. My data looks roughly similar to this: ...
0 votes
1 answer
115 views
Set alias manually for JPA Criteria API select
I have a large codebase built around the Criteria API in my project, so unfortunately switching to another approach (like rewriting with raw native SQL strings or adopting something like jOOQ) isn't ...
0 votes
1 answer
65 views
Handling optional search parameters in Criteria API
Imagine I have optional search parameters that can be null. Is there a more concise alternative for checking each of them explicitly before adding a jakarta.persistence.criteria.Predicate to some ...
1 vote
1 answer
107 views
shopware 6 create custom order filter in admin panel
I want to create a custom filter in the admin panel, in the order overview. Therefore I added a filter to the filter list: Shopware.Component.override('sw-order-list', { ... // Custom ...
-1 votes
3 answers
115 views
COUNTIF using DATE only and name match criteria
I have been tasked to count how many leads does a sales agents takes everyday. So I created a spreadsheet, where the data is being auto populated from a CRM platform, and a separate tab for the ...
-1 votes
1 answer
50 views
Issues with MongoDB Querying Nested Documents Using spring-boot-starter-data-mongodb
I’m encountering some issues when querying nested MongoDB documents using spring-boot-starter-data-mongodb. After checking, I can confirm that the valid documents are present in MongoDB. Here's an ...
1 vote
0 answers
34 views
DLookup using criteria from 2 other tables
The premise of my database is an automated process for the Championship tables for a motorsport club I am in. There is a Driver table of race number/name and a results table for entering a finishing ...
-3 votes
1 answer
88 views
Arrayformula with sumifs and 1 static criteria
Date PRDEF55FA9E PRDDCACBC41 PRDFEC1A0E8 2025-03-12 0 0 0 2025-03-11 20740 22740 8680 2025-03-10 17620 12060 4200 2025-03-08 16380 ...
0 votes
2 answers
129 views
Using the filter function to return all instances in which criteria matches two other cells, one of which has multiple lines of data
I have seen many posts for using the filter function for multiple criteria and the solutions works great if both cells that you are looking for a match in only has 1 line of data. I have a spreadsheet ...
1 vote
1 answer
70 views
Reference joined entity within Query Criteria
Using Spring Data Relational (Spring Data JDBC V3.3.6), I have an entity setup similar to the following: @Table("entity_a") public record EntityA( @Id Long id, @Column("...
0 votes
1 answer
67 views
Symfony doctrine find entities with In and NotIn criteria does not work. Can not find entities while using array of entities as a parameter
So i've got a problem and I am not sure if i do something wrong or there is some bug. Working with Symfony 7.2.1 I got two three entities, one of them is a connection. Ean, Shelf, EanShelfQuantity So ...
0 votes
2 answers
107 views
FILTER formula with both row and column condition resulting in #VALUE error
I have been able to successfully use the FILTER formula to isolate values for columns and rows, and I have used it with multiple criteria as well. For some reason it does not work when I try to ...
0 votes
0 answers
172 views
JPA Criteria Query - is it possible to add an inner join subquery that has multiple fields
I have the query below and would like to translate it into a Criteria query. However, most of the examples I see online use only a single selected field in the subquery. Is it possible to have ...