PHP 클래스 Queries, Nameless

파일 보기 프로젝트 열기: NamelessMC/Nameless 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( )
alterTable ( $table, $column, $attributes )
convertQuestionType ( $type )
create ( $table, $fields = [] )
createTable ( $table, $columns, $other )
dbInitialise ( )
decrement ( $table, $id, $field )
delete ( $table, $where )
getAll ( $table, $where = [] )
getLastId ( )
getLike ( $table, $where, $like )
getWhere ( $table, $where )
increment ( $table, $id, $field )
modifyColumn ( $table, $column, $attributes )
orderAll ( $table, $order, $sort = null )
orderWhere ( $table, $where, $order, $sort = null )
removeColumn ( $table, $column )
tableExists ( $table )
update ( $table, $id, $fields = [] )

메소드 상세

__construct() 공개 메소드

public __construct ( )

alterTable() 공개 메소드

public alterTable ( $table, $column, $attributes )

convertQuestionType() 공개 메소드

public convertQuestionType ( $type )

create() 공개 메소드

public create ( $table, $fields = [] )

createTable() 공개 메소드

public createTable ( $table, $columns, $other )

dbInitialise() 공개 메소드

public dbInitialise ( )

decrement() 공개 메소드

public decrement ( $table, $id, $field )

delete() 공개 메소드

public delete ( $table, $where )

getAll() 공개 메소드

public getAll ( $table, $where = [] )

getLastId() 공개 메소드

public getLastId ( )

getLike() 공개 메소드

public getLike ( $table, $where, $like )

getWhere() 공개 메소드

public getWhere ( $table, $where )

increment() 공개 메소드

public increment ( $table, $id, $field )

modifyColumn() 공개 메소드

public modifyColumn ( $table, $column, $attributes )

orderAll() 공개 메소드

public orderAll ( $table, $order, $sort = null )

orderWhere() 공개 메소드

public orderWhere ( $table, $where, $order, $sort = null )

removeColumn() 공개 메소드

public removeColumn ( $table, $column )

tableExists() 공개 메소드

public tableExists ( $table )

update() 공개 메소드

public update ( $table, $id, $fields = [] )