1//============================================================================== 2// 3// TOBESOFT Co., Ltd. 4// Copyright 2017 TOBESOFT Co., Ltd. 5// All Rights Reserved. 6// 7// NOTICE: TOBESOFT permits you to use, modify, and distribute this file 8// in accordance with the terms of the license agreement accompanying it. 9// 10// Readme URL: http://www.nexacro.co.kr/legal/nexacro17-public-license-readme-1.1.html 11// 12//============================================================================== 13 14if (nexacro._Browser == "Runtime") { 15 if (!nexacro._init_litedb_api) { 16 nexacro._init_litedb_api = true; 17 18 nexacro._createLiteDBConnectionObject = function (target) { 19 return nexacro.__createLiteDBConnectionObject(target, target.on_success, target.on_error); 20 }; 21 22 nexacro._setLiteDBConnectionHandleBusyTimeOut = function (target, v) { 23 return nexacro.__setLiteDBConnectionHandleBusyTimeOut(target.handle, v); 24 }; 25 26 nexacro._setLiteDBConnectionHandleDataSource = function (target, v) { 27 return nexacro.__set
27LiteDBConnectionHandleDataSource(target.handle, v); 28 }; 29 30 nexacro._setLiteDBConnectionHandleOpenFlag = function (target, v) { 31 return nexacro.__setLiteDBConnectionHandleOpenFlag(target.handle, v); 32 }; 33 34 nexacro._setLiteDBConnectionHandlePreConnect = function (target, v) { 35 return nexacro.__setLiteDBConnectionHandlePreConnect(target.handle, v); 36 }; 37 38 nexacro._setLiteDBConnectionHandleAsync = function (target, v) { 39 return nexacro.__setLiteDBConnectionHandleAsync(target.handle, v); 40 }; 41 42 nexacro._beginLiteDBConnectionHandle = function (target) { 43 nexacro.__beginLiteDBConnectionHandle(target.handle); 44 }; 45 46 nexacro._closeLiteDBConnectionHandle = function (target) { 47 nexacro.__closeLiteDBConnectionHandle(target.handle); 48 }; 49 50 nexacro._commitLiteDBConnectionHandle = function (target) { 51 nexacro.__commitLiteDBConnectionHandle(target.handle); 52 }; 53 54 nexacro._isConnectedLiteDBConnectionHandle = function (target) { 55 nexacro.__isConnectedLiteDBConnectionHandle(target.handle); 56 }; 57 58 nexacro._openLiteDBConnectionHandle = function (target, datasource, openflag) { 59 nexacro.__openLiteDBConnectionHandle(target.handle, datasource, openflag); 60 }; 61 62 nexacro._rollbackLiteDBConnectionHandle = function (target) { 63 nexacro.__rollbackLiteDBConnectionHandle(target.handle); 64 }; 65 66 nexacro._createLiteDBStatementObject = function (target) { 67 return nexacro.__createLiteDBStatementObject(target, target.on_success, target.on_error); 68 }; 69 70 nexacro._setLiteDBStatementHandleQuery = function (target, v) {
71 return nexacro.__setLiteDBStatementHandleQuery(target.handle, v); 72 }; 73 74 nexacro._setLiteDBStatementHandleldbConnection = function (target, v) { 75 return nexacro.__setLiteDBStatementHandlelDbConnection(target.handle, v.handle); 76 }; 77 78 nexacro._initParamsLiteDBStatementHandle = function (target) { 79 return nexacro.__initParamsLiteDBStatementHandle(target.handle); 80 }; 81 82 nexacro._addParamsLiteDBStatementHandle = function (target) { 83 return nexacro.__addParamsLiteDBStatementHandle(target.handle); 84 }; 85 86 nexacro._setLiteDBStatementHandleParameter = function (target, param, idx) { 87 if (param instanceof nexacro.LiteDBParameter) { 88 return nexacro.__setLiteDBStatementHandleParameter(target.handle, param.name, param.type, param.value, idx); 89 } 90 }; 91 92 nexacro._setLiteDBStatementHandleAsync = function (target, v) { 93 return nexacro.__setLiteDBStatementHandleAsync(target.handle, v); 94 }; 95 96 nexacro._closeLiteDBStatementHandle = function (target) { 97 nexacro.__closeLiteDBStatementHandle(target.handle); 98 }; 99 100 nexacro._executeQueryLiteDBStatementHandle = function (target) { 101 nexacro.__executeQueryLiteDBStatementHandle(target.handle); 102 }; 103 104 nexacro._executeUpdateLiteDBStatementHandle = function (target) { 105 nexacro.__executeUpdateLiteDBStatementHandle(target.handle); 106 }; 107 } 108}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.