Articles with Tags: Yii2

Using Is NOT NULL in query builder

When building where clauses it's not that well documented how to use NOT and NULL . Starting with a simple query: [snippet id=214] If we wanted to select all posts where the content had something in it [snippet id=215] Note the doubles set of square brackets, first before the 'not' and then around the parameters


Starting with Yii2

So, if you're anything like me, a busy independent developer, research and training projects always get pushed down to the bottom of that oh-so long list of things to do! So this is the start of a series of posts introducing Yii2 and helping you to get up to speed as quickly as possible