# Detail

trait Detail

## Methods

PDOStatement
getTableDetail(string $tableName)

No description

PDOStatement
getColumnDetail(string $tableName, string $columnName)

No description

array
getTableColumn(string $tableName, bool $fetchAll = false)

No description

static bool
hasTable(string $tableName)

CHeck if table is exists or not

static bool
hasColumn(string $tableName, string $columnName)

Check if column exists or not

Schema
column(string $column)

This method relate with Schema::table('')

array
columns(bool $fetchAll = false)

Same as column, but this method will give you more raw information about column in some table

static array
tables()

Get all table data from current database

bool
isAutoIncrement()

Get boolean result about table and column Auto Increment status

bool
isTemporary()

No description

bool
isEmpty()

No description

bool
isNull()

No description

bool
isUnique()

No description

bool
isPrimary()

No description

bool
isFullText()

No description

bool
isExists()

No description

## Details

###
at line 59
`PDOStatement getTableDetail(string $tableName)`

No description

#### Parameters

string | $tableName |

#### Return Value

PDOStatement |

###
at line 77
`PDOStatement getColumnDetail(string $tableName, string $columnName)`

No description

#### Parameters

string | $tableName |
string | $columnName |

#### Return Value

PDOStatement |

###
at line 95
`array getTableColumn(string $tableName, bool $fetchAll = false)`

No description

#### Parameters

string | $tableName |
bool | $fetchAll |

#### Return Value

array |

###
at line 119
`static bool hasTable(string $tableName)`

CHeck if table is exists or not

#### Parameters

string | $tableName |

#### Return Value

bool |

###
at line 131
`static bool hasColumn(string $tableName, string $columnName)`

Check if column exists or not

#### Parameters

string | $tableName |
string | $columnName |

#### Return Value

bool |

###
at line 142
`Schema column(string $column)`

This method relate with Schema::table('')

#### Parameters

string | $column |

#### Return Value

Schema |

###
at line 156
`array columns(bool $fetchAll = false)`

Same as column, but this method will give you more raw information about column in some table

#### Parameters

bool | $fetchAll |

#### Return Value

array |

###
at line 166
`static array tables()`

Get all table data from current database

#### Return Value

array |

###
at line 189
`bool isAutoIncrement()`

Get boolean result about table and column Auto Increment status

#### Return Value

bool |

###
at line 198
`bool isTemporary()`

No description

#### Return Value

bool |

###
at line 206
`bool isEmpty()`

No description

#### Return Value

bool |

###
at line 214
`bool isNull()`

No description

#### Return Value

bool |

###
at line 222
`bool isUnique()`

No description

#### Return Value

bool |

###
at line 230
`bool isPrimary()`

No description

#### Return Value

bool |

###
at line 238
`bool isFullText()`

No description

#### Return Value

bool |

###
at line 246
`bool isExists()`

No description

#### Return Value

bool |