Login +

Documentation

SLS_ExprBuilder::protectColumn

Since SillySmart 1.0.7

Description

Protect a sql column
public string protectColumn ( string $col);

Parameters

  • string $col
    the column to protect

Return

string
column protected

Exemples

  •  protectColumn("news_id")
     // will produce "`news_id`"
     protectColumn("news.news_id")
     // will produce "`news`.`news_id`"

Comments

No comment on this function, be the first !

Add your comment

You must login/register to post a reply.