Use JDatabase in model
Quote published column value