# Model_DB_BaseDBTable_63.luac
; fn @BaseDBTable.lua  line 0-0 np=0 va=1 ms=2 code=30 consts=10 upvals=1 protos=8
;   K[0]='BaseDBTable'
;   K[1]='__index'
;   K[2]='IsEmpty'
;   K[3]='GetValue'
;   K[4]='GetValues'
;   K[5]='Set'
;   K[6]='BatchSet'
;   K[7]='Remove'
;   K[8]='IsValidValueType'
;   K[9]='ConvertValueType'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('BaseDBTable')] = R0
0002  GETTABUP  R0 = _ENV[K0('BaseDBTable')]
0003  GETTABUP  R1 = _ENV[K0('BaseDBTable')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('BaseDBTable')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('IsEmpty')] = R1
0008  GETTABUP  R0 = _ENV[K0('BaseDBTable')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('GetValue')] = R1
0011  GETTABUP  R0 = _ENV[K0('BaseDBTable')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('GetValues')] = R1
0014  GETTABUP  R0 = _ENV[K0('BaseDBTable')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('Set')] = R1
0017  GETTABUP  R0 = _ENV[K0('BaseDBTable')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('BatchSet')] = R1
0020  GETTABUP  R0 = _ENV[K0('BaseDBTable')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('Remove')] = R1
0023  GETTABUP  R0 = _ENV[K0('BaseDBTable')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('IsValidValueType')] = R1
0026  GETTABUP  R0 = _ENV[K0('BaseDBTable')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K9('ConvertValueType')] = R1
0029  RETURN    return R0..R-1
; ---------- proto0 [IsEmpty] ----------
  ; fn ?  line 8-9 np=1 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1)
  0000  RETURN    return R0..R-1
; ---------- proto1 [GetValue] ----------
  ; fn ?  line 11-12 np=3 va=0 ms=3 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1), primaryValue(0-1), column(0-1)
  0000  RETURN    return R0..R-1
; ---------- proto2 [GetValues] ----------
  ; fn ?  line 15-16 np=1 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1)
  0000  RETURN    return R0..R-1
; ---------- proto3 [Set] ----------
  ; fn ?  line 19-20 np=4 va=0 ms=4 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1), primaryValue(0-1), column(0-1), columnValue(0-1)
  0000  RETURN    return R0..R-1
; ---------- proto4 [BatchSet] ----------
  ; fn ?  line 23-24 np=2 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1), primaryColumnsMap(0-1)
  0000  RETURN    return R0..R-1
; ---------- proto5 [Remove] ----------
  ; fn ?  line 27-28 np=3 va=0 ms=3 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1), primaryValue(0-1), column(0-1)
  0000  RETURN    return R0..R-1
; ---------- proto6 [IsValidValueType] ----------
  ; fn ?  line 30-47 np=2 va=0 ms=6 code=62 consts=13 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]='EDBValueType'
  ;   K[2]='Text'
  ;   K[3]='IsString'
  ;   K[4]='Integer'
  ;   K[5]='IsNumber'
  ;   K[6]='math'
  ;   K[7]='floor'
  ;   K[8]='Real'
  ;   K[9]='Log'
  ;   K[10]='Error'
  ;   K[11]='不支持的类型检查, type='
  ;   K[12]='tostring'
  ;   upvals: _ENV
  ;   locals: type(0-62), value(0-62)
  0000  EQ        if R0 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 4
  0002  LOADBOOL  R2 = true
  0003  RETURN    return R2..R1
  0004  GETTABUP  R2 = _ENV[K1('EDBValueType')]
  0005  GETTABLE  R2 = R2[K2('Text')]
  0006  EQ        if R0 eq R2   -> -131062
  0007  JMP       (jump)   -> 13
  0008  GETTABUP  R2 = _ENV[K3('IsString')]
  0009  MOVE      R3 = R0
  0010  TAILCALL  tailcall(R2, 0)
  0011  RETURN    return R2..R1
  0012  JMP       (jump)   -> 61
  0013  GETTABUP  R2 = _ENV[K1('EDBValueType')]
  0014  GETTABLE  R2 = R2[K4('Integer')]
  0015  EQ        if R0 eq R2   -> -131053
  0016  JMP       (jump)   -> 32
  0017  GETTABUP  R2 = _ENV[K5('IsNumber')]
  0018  MOVE      R3 = R0
  0019  CALL      R2 = call(R2, 1 args, 1 rets)
  0020  TEST      if not R2 then   -> -131050
  0021  JMP       (jump)   -> 30
  0022  GETTABUP  R2 = _ENV[K6('math')]
  0023  GETTABLE  R2 = R2[K7('floor')]
  0024  MOVE      R3 = R0
  0025  CALL      R2 = call(R2, 1 args, 1 rets)
  0026  EQ        if R1 eq R1   -> -130019
  0027  JMP       (jump)   -> 29
  0028  LOADBOOL  R2 = false
  0029  LOADBOOL  R2 = true
  0030  RETURN    return R2..R1
  0031  JMP       (jump)   -> 61
  0032  GETTABUP  R2 = _ENV[K1('EDBValueType')]
  0033  GETTABLE  R2 = R2[K8('Real')]
  0034  EQ        if R0 eq R2   -> -131034
  0035  JMP       (jump)   -> 51
  0036  GETTABUP  R2 = _ENV[K5('IsNumber')]
  0037  MOVE      R3 = R0
  0038  CALL      R2 = call(R2, 1 args, 1 rets)
  0039  TEST      if not R2 then   -> -131031
  0040  JMP       (jump)   -> 49
  0041  GETTABUP  R2 = _ENV[K6('math')]
  0042  GETTABLE  R2 = R2[K7('floor')]
  0043  MOVE      R3 = R0
  0044  CALL      R2 = call(R2, 1 args, 1 rets)
  0045  LE        if R1 le R1   -> -130000
  0046  JMP       (jump)   -> 48
  0047  LOADBOOL  R2 = false
  0048  LOADBOOL  R2 = true
  0049  RETURN    return R2..R1
  0050  JMP       (jump)   -> 61
  0051  GETTABUP  R2 = _ENV[K9('Log')]
  0052  GETTABLE  R2 = R2[K10('Error')]
  0053  LOADK     R3 = K11 '不支持的类型检查, type='
  0054  GETTABUP  R4 = _ENV[K12('tostring')]
  0055  MOVE      R5 = R0
  0056  CALL      R4 = call(R4, 1 args, 1 rets)
  0057  CONCAT    R3 = concat(R3..R3)
  0058  CALL      R2 = call(R2, 0 args, 1 rets)
  0059  LOADBOOL  R2 = false
  0060  RETURN    return R2..R1
  0061  RETURN    return R0..R-1
; ---------- proto7 [ConvertValueType] ----------
  ; fn ?  line 49-63 np=2 va=0 ms=5 code=33 consts=10 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]='EDBValueType'
  ;   K[2]='Text'
  ;   K[3]='tostring'
  ;   K[4]='Integer'
  ;   K[5]='Real'
  ;   K[6]='tonumber'
  ;   K[7]='Log'
  ;   K[8]='Error'
  ;   K[9]='不支持的类型检查, type='
  ;   upvals: _ENV
  ;   locals: type(0-33), value(0-33)
  0000  EQ        if R0 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 3
  0002  RETURN    return R1..R0
  0003  GETTABUP  R2 = _ENV[K1('EDBValueType')]
  0004  GETTABLE  R2 = R2[K2('Text')]
  0005  EQ        if R0 eq R2   -> -131063
  0006  JMP       (jump)   -> 12
  0007  GETTABUP  R2 = _ENV[K3('tostring')]
  0008  MOVE      R3 = R0
  0009  TAILCALL  tailcall(R2, 0)
  0010  RETURN    return R2..R1
  0011  JMP       (jump)   -> 32
  0012  GETTABUP  R2 = _ENV[K1('EDBValueType')]
  0013  GETTABLE  R2 = R2[K4('Integer')]
  0014  EQ        if R1 eq R2   -> -131054
  0015  JMP       (jump)   -> 20
  0016  GETTABUP  R2 = _ENV[K1('EDBValueType')]
  0017  GETTABLE  R2 = R2[K5('Real')]
  0018  EQ        if R0 eq R2   -> -131050
  0019  JMP       (jump)   -> 25
  0020  GETTABUP  R2 = _ENV[K6('tonumber')]
  0021  MOVE      R3 = R0
  0022  TAILCALL  tailcall(R2, 0)
  0023  RETURN    return R2..R1
  0024  JMP       (jump)   -> 32
  0025  GETTABUP  R2 = _ENV[K7('Log')]
  0026  GETTABLE  R2 = R2[K8('Error')]
  0027  LOADK     R3 = K9 '不支持的类型检查, type='
  0028  MOVE      R4 = R0
  0029  CONCAT    R3 = concat(R3..R3)
  0030  CALL      R2 = call(R2, 0 args, 1 rets)
  0031  RETURN    return R1..R0
  0032  RETURN    return R0..R-1
