Questions tagged [dynamicparameters]

48 questions
0
votes
0 answers

How can I build sequelize queries adding where clause dynamically?

I'm building a webapp with node server and nuxt. I'm really stuck when it comes to writing sequelize queries dynamically, adding parameters dynamically. I'm trying to retrieve from my database all the resources which pass some filter criteria (like…
0
votes
0 answers

How to add a dynamic param to a URL in ejs

I've looked around for a solution to this but haven't been able to find one. How can a param be added to a URL dynamically in EJS. This is what I am trying to do
mikeym
  • 5,705
  • 8
  • 42
  • 62
0
votes
1 answer

Fetch the Trace log path dynamically using Python or Shell script

I have a use-case where I need to traverse into the path /u01/app/oracle/diag/rdbms/abc_def/abcdef/trace/ and fetch the trace logs. Basically, the trace logs path is same but the values of the path vary from DB server to DB server. For Oracle RBMS,…
0
votes
0 answers

C# dynamic List to send to sql stored procedure

I have a List in my c# code. What I want is that I have an api called Employee/GetAllEmployees. Request parameter is { "page": 0, "pageSize": 0, "search": "string", "filterBy": [{ "key": "idEmployee", "value":…
0
votes
1 answer

Dynamically pass parameters (including complex expressions) to update clause using DolphinDB?

How can I dynamically pass parameters to clause after set in DolphinDB? For example, update quote set fname = ufunc(k), where fname is a variable ufunc is a custom function, and k is an external variable. How should I implement it?
Polly
  • 603
  • 3
  • 13
0
votes
0 answers

C# - Different types as method parameter / Creating arrays without using the new keyword

I am quite new to C#, coming from C++. I am writing a testing framework in C#, and I want writing the test cases to be as easy as possible. I have two questions for which I was not able to find a conclusive solution. Therefore I am asking for a…
0
votes
1 answer

How to dynamically put data into a url in node js using axios

Hi since I am a novice this problem might be small but I could not find any solution. axios.get('http://apilayer.net/api/validateaccess_key=******&number=14158586273&country_code=&format=1') .then(response=>{ …
Predictev
  • 1
  • 1
0
votes
0 answers

Get parameter from url and pass it in add_filter not returning dynamic value wordpress

I am facing a weird problem. I am trying to override value in a function using apply_filter. Here is the code which I am using in the theme's functions.php file: function customized_params_6e9668( $attrs ) { $subfolder = isset($_GET["sub"]) ?…
DevD
  • 304
  • 1
  • 4
  • 11
0
votes
0 answers

WebView2 HostObjectToScript throws runtime System.NotImplementedException exception when trying to execute a passed-in function

Problem: HostObjectToScript throws exception when trying to execute a passed-in function Scenario: WPF application has a WebView2 tab embedded and exposes an object for scripting using CoreWebView2.AddHostObjectToScript(). I'm able to access this…
0
votes
1 answer

Passing dynamic parameters from URL to external links in my page

First of all keep in mind that I have totally NO programming skills. I just have a blog with wordpress, where I promote some affiliate offers making full reviews or top-list (eg. top 5 best dating sites) Now I want to promote one of these articles…
0
votes
1 answer

Powershell - create dynamic param from AST of another script block

I have a dynamically loaded PowerShell script block that accepts multiple parameters (including Mandatory, type, default value,...). I also have a function that has its own parameter sets and internally, it calls the script block. The script block…
user2486570
  • 902
  • 8
  • 14
0
votes
1 answer

Sort PowerShell dynamic parameters in descending order

I have a script that displays changes from an array and an hashtable. The changes are displayed according to scriptnames or change dates. When called from PS-concole I have the changes listed as dynamic parameters to make it easier to show specific…
Smorkster
  • 322
  • 3
  • 10
0
votes
1 answer

NodeJS recursion with dynamic number of parameters

I'm never to NodeJS and therefore struggling with a recursive multiplication function. The problem seems to be that in the recursion the input parameters are an array which is then assigned to the first value instead of value by value. Here's the…
fsulser
  • 853
  • 2
  • 10
  • 34
0
votes
1 answer

Laravel- Redirecting users with a dynamic parameter through controller

I have set up the web routing for my url to show as per localhost/testapp/public/{user}/hello with this current setting Route::prefix('{user}')->middleware('user')->group(function () { Route::prefix('welcome')->group(function () { …
Monomoni
  • 415
  • 2
  • 4
  • 19
0
votes
1 answer

PowerShell: DynamicParam: get list of passed parameters?

Good afternoon Unfortunately, PowerShell is not able to detect the ParameterSet by the Parameter Types, for example: If the 2nd Parameter is passed as a Int, then select ParameterSet1, otherwise use ParameterSet2. Therefore I would like to manually…
Tom
  • 357
  • 1
  • 5
  • 18