Search
 
SCRIPT & CODE EXAMPLE
 

TYPESCRIPT

adonis where or

Database
  .from('users')
  .where((query) => {
    query
      .where('username', 'virk')
      .whereNull('deleted_at')
  })
  .orWhere((query) => {
    query
      .where('email', 'virk@adonisjs.com')
      .whereNull('deleted_at')
  })
Comment

PREVIOUS NEXT
Code Example
Typescript :: how to take two inputs in a single line in python 
Typescript :: adonis model use transaction 
Typescript :: how to print the results of a command in a fil in linux 
Typescript :: requests module in vs code python 
Typescript :: sql see constraints on table 
Typescript :: global d ts 
Typescript :: How to find the two parts of a vector 2 C++ 
Typescript :: requests python no proxy 
Typescript :: typescript add comments to interface prop[ 
Typescript :: azure artifacts npm install latest version not updating 
Typescript :: ionic alert controller handler not dimiss 
Typescript :: change execution policy 
Typescript :: how to extract digits of a number in c 
Typescript :: how to get the value of an input in typescript 
Typescript :: typescript add one month to date 
Typescript :: how to count positive elements numpy 
Typescript :: vue 3 bootstrap 5 tooltip 
Typescript :: serving vue3 in django 
Typescript :: Could not find Angular Material core theme. Most Material components may not work as expected 
Typescript :: check if enum contains value typescript 
Typescript :: typescript declare dictionary type 
Typescript :: how to enable and disable gameobjects c# 
Typescript :: react protected routes typescript 
Typescript :: loop through string typescript 
Typescript :: ng-select disabled 
Typescript :: java sort arraylist of objects by field descending 
Typescript :: how to check if elements dont exist in testing library 
Typescript :: angular http 
Typescript :: sort a list of ints python in descending order 
Typescript :: how to check if there is any point which lies inside the circle 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =