생성자는 데이터베이스 개체를 구성할 수 있습니다.
__construct ( string $tableName , [ string $configFileName = null ], [ string $fieldDefinition = null ], [ string $rowValues = null ]) RocksDBO __construct (문자열 $ tableName, [문자열 $ configFileName = NULL], [문자열 $ fieldDefinition = NULL], [문자열 $ rowValues = NULL])
- $tableName : the table this database object should be created for 문자열 $ tableName :이 데이터베이스 개체는 테이블에 대한 생성되어야합니다
- $configFileName : the configuration filename that should be used for this object, if null the default is used 문자열 $ configFileName :이 개체에 대한 사용되어야 구성 파일 이름, NULL 기본을 사용하는 경우
- $fieldDefinition : any pre-created field definitions, this is usually used internally. 문자열 $ fieldDefinition : 모든 미리 만든 필드 정의는, 이것은 보통 내부적으로 사용됩니다.
- $rowValues : the values of the table row that should be loaded, this is usually used internally. 문자열 $ rowValues :로드되어야하는 테이블 행의 값을,이는 대개 내부적으로 사용됩니다.
이것은이 개체에 설정된 매개 변수와 일치하는 행을 삭제됩니다.
Delete () 무효 삭제 ()
삭제할 필드 정의의 현재 캐시된 버전, 보통 내부 적으로만 사용하실 수 있습니다.
DeleteCurrentCache () 무효 DeleteCurrentCache ()
이것은 필드 정의의 배열을 반환합니다.
GetFieldDefinition () 공극 GetFieldDefinition ()
이것은 필드에 데이터의 연관 배열을로드합니다.
LoadAssociativeArrayData ( array $rowValues ) 무효 LoadAssociativeArrayData (배열 $ rowValues)
- $rowValues : the associative array to load 배열 $ rowValues :로드 연관 배열
당신은 이미 키에 대한이 업데이 트를 별도로 삽입이 이루어집니다를 수행하는 가치를 가지고있다면 이것은 DBO로 변경 사항을 저장합니다.
Save () 저장 ()을 무효
이것은 하나 이상의 행을 오류가 발생 반환되면 설정된 속성과 모든 데이터를 선택합니다.
Select () 선택 무효 ()
__call ( 무효 __call ( , method_name $, ) $ 매개 변수)
__get ( 무효 __get ( ) $ 이름)
__set ( 공극 __set ( , $ 이름, ) $ 값)