php - Compare column to an array of data -


I have tried to achieve something in Laravel, but it is not possible so far.

If this is possible, please let someone

  - & gt; Where ("Note_ id", "! =", Array ('1', '2', '3')) should help - & gt; first ();   

Thank you in advance

Use whereNotIn , as explained in the document.

  Model :: whereNotIn ('note_id', array (1, 2, 3)) - & gt; first ();    

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -