전체 글
-
index란MYSQL 2020. 7. 14. 13:40
데이터들을 임의 테이블에 정렬하여 데이터에 대한 주소를 저장 ex) index : sq_member,sq_request sq_member정렬후 sq_request값정렬 하여 검색후 주소를 값을 전달하여 검색한다 table sq_member sq_request 임의주소 2 1 #001 3 3 #002 2 3 #003 1 2 #004 3 4 #005 3 3 #006 인덱스 정렬 임의테이블 sq_member sq_request 임의주소 1 2 #004 2 1 #001 2 3 #003 3 3 #002 3 3 #006 3 4 #005 위테이블형식으로 정렬이 되며 index거는 조건에 떄라 달라진다 sq_request,sq_member 반대로 거는경우 위 인덱스경우 타지 않는다 이러한경우 반대 인덱스도 걸어주어야 ..
-
자바문법JAVA 2020. 7. 14. 13:39
private Context cntxt; public Inipay(Context c) { this.cntxt = c ; } //클래스내에서만 사용하는 변수 //생성자 함수(첫글자는 대문자) (타입 변수) { 현재 클래스의cntxt는 파람값 넣기 } public boolean doPay(WebView view , String url ) { return false; } boolean 생성자뒤에 있는경우 리턴값이 boolean으로 리턴된다 void 리턴할 필요가 없는경우 void를 사용한다
-
javascript 함수 자동호출JAVASCRIPT 2020. 7. 14. 13:38
javascript 함수 자동호출 1) setTimeout([Function], [Milliseconds]) - 특정 시간 이 후, 단 한번만 특정 함수 또는 코드를 실행시킬 때 사용합니다. - 2번째 인자의 시간(Milliseconds)이 경과하면 1번째 인자의 함수를 실행합니다. 2) setInterval([Function], [Milliseconds]) - 특정 시간 마다 특정 함수 또는 코드를 실행시킬 때 사용합니다. - 2번째 인자의 시간(Milliseconds)이 지날때마다 1번째 인자의 함수를 실행합니다. 3) clearInterval([Timer Id]) - 종료 ex)일정높이만큼 마진주기 addTopInterval = setInterval(function() { $( ".top-added..