7,718 questions
5
votes
1
answer
109
views
What is the difference between bar.int and bar.getInt() in Spring Expression Language (SpEL)?
I'm working with Spring Expression Language (SpEL) and noticed that expressions like @bar.int and @bar.getInt() both seem to access values from a Spring bean.
What is the actual difference between ...
0
votes
3
answers
66
views
C# Expression to create selector using list of column names to produce new object
I have a list of available database column names as "id, age, location, etc."
I need to create an expression to use it in a EF linq selector like this but in a dynamic way. My user if free ...
0
votes
1
answer
57
views
Azure Data Factory how to conditionally update cell based on condition of another cell in ADF (something like 'if(cell>x, cell*y, cell'?)
I am relatively new to the ADF, I am trying to achieve following:
Have csv file:
price
new price
102
91
1145
I need to apply to both "new price" cells following function:
if(A2>1000, A2*1....
1
vote
0
answers
22
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 ...
0
votes
2
answers
18
views
Multiple IIF statements for the value
I'm working on a report for attendance and building a report for administration that shows students at Risk based on percentage.Want to change the percentage color based on the value for quicker ...
0
votes
0
answers
16
views
MVEL compileExpression vs ExecuteExpression
MVEL is used to evaluate the simple expression, user defined functions, MVEL supported expressions like if else, ternary conditions.
Pseudo code:
public class expressionResolver{
...
1
vote
1
answer
63
views
Since Kotlin is a statically typed language, why can I implement an if/else returning different types to a variable?
This question arose while I was experimenting with Kotlin's static typing feature. The scenario is as follows: I wrote a piece of code containing an if/else expression that returns a value to a ...
0
votes
2
answers
110
views
Entity Framework Core: how safe are expressions from SQL injection? [closed]
I am doing research on ways to prevent SQL injection when using Entity Framework Core ORM. Most blogs and sources cite official Microsoft documentation, that the best way is to sanitize values, use ...
0
votes
1
answer
43
views
Logic App Boolean Expression True not true
I have a Logic App expression that evaluates the condition correctly, but outputs True instead of true.
A subsequent POST HTTP action fails as the JSON payload that contains this value cannot parse ...
0
votes
1
answer
28
views
VS 2017, Integration Services SSIS, Set ServerName Variable to the Connection Strings ServerName using Expression errors
I am trying to set up a Variable Called ServerName in my SSIS package. I need the variable to render the name of the server used in the connection string from the connection manger named "...
0
votes
0
answers
33
views
Spotfire - How to Use Custom Expression to Pull Prior Quarter Data
I have a Spotfire analysis built that was working for 2024 data, but is no longer working now that it is 2025.
Here is an example - this expression was built to pull volumes for both the previous 3 ...
3
votes
1
answer
118
views
Argument expression of function call
My reference is to a particular observation made in the following article:
Exception Handling: A False Sense of Security
Under the section Exceptions Thrown by T the author makes the following ...
1
vote
0
answers
32
views
Syntax terminology for a chain of identifiers separated by dots, like in namespace a.b.c
I've been working on designing my own (C#-like) strongly typed programming language and writing a bootstrapping compiler for it, but I'm struggling with an issue of terminology. I've got BNF ...
0
votes
1
answer
108
views
Conditional selection of data in palantir contour
I have two datasets with Client, 1st Nationality, 2nd Nationality, 3rd Nationality and with Country Code, Continent.
I would need an expresion using an expresion board in Palantir Contour that would ...
2
votes
2
answers
51
views
What's going on with the chaining in Python's string membership tests? [duplicate]
I just realized I had a typo in my membership test and was worried this bug had been causing issues for a while. However, the code had behaved just as expected. Example:
"test" in "...