vue + js + etc 문법

김형우·2022년 2월 3일
0

tips

목록 보기
4/5

CRUD

  • 조회 :
    await axios.get(url, {headers:headers});

  • 추가 :
    await axios.post(url, body, {headers:headers});

  • 수정 :
    await axios.put(url, body, {headers:headers});

  • 삭제 :
    await axios.delete(url, {headers:headers, data:{}});

이상, 이하, 초과, 미만

  • {_id : {$lt : 113}} === 113미만
  • {_id : {$lte : 113}} === 113이하
  • {_id : {$gt : 113}} === 113초과
  • {_id : {$gte : 113}} === 113이상
profile
The best

0개의 댓글