深圳全飞鸿

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 382|回复: 0
打印 上一主题 下一主题

adodb的分页

[复制链接]

800

主题

1379

帖子

7704

积分

版主

Rank: 7Rank: 7Rank: 7

积分
7704
跳转到指定楼层
楼主
发表于 2023-4-19 22:11:57 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
ADORecordSet_mysqli::__set_state(array(
   'databaseType' => 'mysqli',
   'canSeek' => true,
   'dataProvider' => 'native',
   'fields' =>
  array (
    'CUST_CODE' => 'SKYLIGHT',
    'CUST_NAME' => '天彩电子',
    'CUST_KP_NO' => 'EN-W2R20M2520-4-V',
    'QTY1' => '15813',
    'TOTAL' => '80576399',
  ),
   'blobSize' => 100,
   'sql' => '
select CUST_CODE,CUST_NAME,CUST_KP_NO,count(1) QTY1,sum(ext_qty) TOTAL from
(SELECT B.CUST_CODE,C.CUST_NAME,A.* FROM                 smt.r_tr_sn a
inner join smt.c_cust_kp_config b  on a.cust_kp_no=b.cust_kp_no
left join  smt.c_cust_config c on b.cust_code=c.cust_code
                where  a.location_flag=0
                  
) aa
                 LIMIT 0,15',
   'EOF' => false,
   'emptyTimeStamp' => ' ',
   'emptyDate' => ' ',
   'debug' => false,
   'timeCreated' => 0,
   'bind' => false,
   'fetchMode' => 1,
   'connection' =>
  ADODB_mysqli::__set_state(array(
     'databaseType' => 'mysqli',
     'dataProvider' => 'mysql',
     'hasInsertID' => true,
     'hasAffectedRows' => true,
     'metaTablesSQL' => 'SELECT
                        TABLE_NAME,
                        CASE WHEN TABLE_TYPE = \'VIEW\' THEN \'V\' ELSE \'T\' END
                FROM INFORMATION_SCHEMA.TABLES
                WHERE TABLE_SCHEMA=',
     'metaColumnsSQL' => 'SHOW COLUMNS FROM `%s`',
     'fmtTimeStamp' => '\'Y-m-d H:i:s\'',
     'hasLimit' => true,
     'hasMoveFirst' => true,
     'hasGenID' => true,
     'isoDates' => true,
     'sysDate' => 'CURDATE()',
     'sysTimeStamp' => 'NOW()',
     'hasTransactions' => true,
     'forceNewConnect' => false,
     'poorAffectedRows' => true,
     'clientFlags' => 0,
     'substr' => 'substring',
     'port' => 3306,
     'socket' => '',
     '_bindInputArray' => false,
     'nameQuote' => '`',
     'optionFlags' =>
    array (
      0 =>
      array (
        0 => 5,
        1 => 0,
      ),
    ),
     'arrayClass' => 'ADORecordSet_array_mysqli',
     'multiQuery' => false,
     '_genIDSQL' => 'update %s set id=LAST_INSERT_ID(id+1);',
     '_genSeqSQL' => 'create table if not exists %s (id int not null)',
     '_genSeqCountSQL' => 'select count(*) from %s',
     '_genSeq2SQL' => 'insert into %s values (%s)',
     '_dropSeqSQL' => 'drop table if exists %s',
     'database' => 'sfc',
     'host' => '127.0.0.1',
     'user' => 'root',
     'password' => 'not stored',
     'debug' => false,
     'maxblobsize' => 262144,
     'concat_operator' => '+',
     'length' => 'length',
     'random' => 'rand()',
     'upperCase' => 'upper',
     'fmtDate' => '\'Y-m-d\'',
     'true' => '1',
     'false' => '0',
     'replaceQuote' => '\\\'',
     'charSet' => false,
     'metaDatabasesSQL' => '',
     'uniqueOrderBy' => false,
     'emptyDate' => ' ',
     'emptyTimeStamp' => ' ',
     'lastInsID' => false,
     'hasTop' => false,
     'readOnly' => false,
     'genID' => 0,
     'raiseErrorFn' => false,
     'cacheSecs' => 3600,
     'memCache' => false,
     'memCacheHost' => NULL,
     'memCachePort' => 11211,
     'memCacheCompress' => false,
     'sysUTimeStamp' => false,
     'noNullStrings' => false,
     'numCacheHits' => 0,
     'numCacheMisses' => 0,
     'pageExecuteCountRows' => true,
     'uniqueSort' => false,
     'leftOuter' => false,
     'rightOuter' => false,
     'ansiOuter' => false,
     'autoRollback' => false,
     'fnExecute' => false,
     'fnCacheExecute' => false,
     'blobEncodeType' => false,
     'rsPrefix' => 'ADORecordSet_',
     'autoCommit' => true,
     'transOff' => 0,
     'transCnt' => 0,
     'fetchMode' => 2,
     'null2null' => 'null',
     'bulkBind' => false,
     '_oldRaiseFn' => false,
     '_transOK' => NULL,
     '_connectionID' =>
    mysqli::__set_state(array(
       'affected_rows' => NULL,
       'client_info' => NULL,
       'client_version' => NULL,
       'connect_errno' => NULL,
       'connect_error' => NULL,
       'errno' => NULL,
       'error' => NULL,
       'error_list' => NULL,
       'field_count' => NULL,
       'host_info' => NULL,
       'info' => NULL,
       'insert_id' => NULL,
       'server_info' => NULL,
       'server_version' => NULL,
       'stat' => NULL,
       'sqlstate' => NULL,
       'protocol_version' => NULL,
       'thread_id' => NULL,
       'warning_count' => NULL,
    )),
     '_errorMsg' => false,
     '_errorCode' => false,
     '_queryID' =>
    mysqli_result::__set_state(array(
       'current_field' => NULL,
       'field_count' => NULL,
       'lengths' => NULL,
       'num_rows' => NULL,
       'type' => NULL,
    )),
     '_isPersistentConnection' => false,
     '_evalAll' => false,
     '_affected' => false,
     '_logsql' => false,
     '_transmode' => '',
     'connectionParameters' =>
    array (
    ),
     'databaseName' => 'sfc',
     '_maxRecordCount' => '15813',
  )),
   '_numOfRows' => 1,
   '_numOfFields' => 5,
   '_queryID' =>
  mysqli_result::__set_state(array(
     'current_field' => NULL,
     'field_count' => NULL,
     'lengths' => NULL,
     'num_rows' => NULL,
     'type' => NULL,
  )),
   '_currentRow' => 0,
   '_closed' => false,
   '_inited' => true,
   '_obj' => NULL,
   '_names' => NULL,
   '_currentPage' => 1,
   '_atFirstPage' => true,
   '_atLastPage' => false,
   '_lastPageNo' => 1055,
   '_maxRecordCount' => '15813',
   'datetime' => false,
   'adodbFetchMode' => 2,
   'rowsPerPage' => 15,
))

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|nagomes  

GMT+8, 2025-5-4 20:50 , Processed in 0.025698 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表