class Product { @Min(0, { message: 'should be positive number' }) @IsNotEmpty({ message: 'should not be empty' }) @Type(() => Number) price: number;
I have a data where I would like to compare the measurements two-by-two by taking the difference and say if the difference is more than 0.2 add another column a
db.Collection.aggregate([ {$match: {field_A: {$in: [el_1, el_2, ...]}}} ]) What is the limit to [el_1, el_2, ...]? How many elements can it have? How large c
I have a dropzone and an input(html), how do I connect them? I need when I put a file in the dropzone, that this file would be written to the input(html). Is th
I've been searching the internet for a fix, yet i can't seem to fix it.. I wanted to make a Game wherein of course there is a Menu and the Play Screens, But the
enter code here I try to push from Java by using JAVAPNS 2.2 this is my code import java.util.*; import org.apache.log4j.BasicConfigurator; import org.json.JS
I am trying to understand where do these username field is mapped to in the Kubernetes cluster. This is a sample configmap: apiVersion: v1 data: mapRoles: |
I am importing some customers with : $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $customerFactory = $objectManager->crea
I am using PowerShell script to start multiple Java application. $app = Start-Process -FilePath java -ArgumentList "-jar $path_to_jar" -PassThru it's working a
I am using MediatR. Requests are decorated like so public record GetUserInfoQuery(Guid id) : IRequest<GetUserInfoResponse>; public record GetUserInfoRespo