腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
关联问题
换一批
SIP Presence是什么?
SIP Presence如何工作?
SIP Presence的应用场景有哪些?
文章
(0)
问答
(9999+)
视频
(0)
沙龙
(0)
1
回答
使用SQLSRV在批插入中返回受影响的行时出错
、
、
我使用的是编码器2.1.4,我使用
insert
_batch插入了一串行。我使用SQLSRV驱动程序连接到SQLSRV 2008数据库。
浏览 3
提问于2014-06-25
得票数 0
回答已采纳
1
回答
update_batch
和
insert
in
codeigniter
、
我很熟悉
update_batch
,但在这里它不能工作,因为我在同一时间也有插入。我的解决方案是删除customer_id =1的行,然后
insert
_batch新数据。base_model->delete_data('customer_tel' , array('customer_id'=> $id)); $res = $this->base_model->
insert
_batch
浏览 18
提问于2019-03-08
得票数 0
2
回答
插入批次,如果
codeigniter
中有重复的密钥更新
、
、
、
、
有没有办法在批量插入查询中执行,如果键已经存在,在
codeigniter
中更新该行?我浏览了文档,只找到了
insert
_batch
和
update_batch
。但是如何在活动记录中更新具有重复键的行?如果在batch_
insert
中插入或更新一行失败,会发生什么情况?所有插入都失败还是只有那一行失败?
浏览 1
提问于2013-12-24
得票数 6
回答已采纳
2
回答
Codeigniter
update_batch--查看,但不执行
我正在使用
Codeigniter
3.x,并希望在调试代码时看到一个
update_batch
查询,但不想运行它。这适用于
update_batch
: $this->db->
update_batch
("`" .
浏览 0
提问于2017-09-19
得票数 0
1
回答
在
Codeigniter
3 HMVC中插入批次
和
重复密钥更新
、
、
、
有没有什么方法可以在
insert
_batch中执行,如果键已经存在,就在
Codeigniter
3HMVC中更新该行?我已经翻阅了文档,只找到了
insert
_batch
和
update_batch
,并且从一些旧的讨论中找到了,但是对于
Codeigniter
2,当我在我的HMVC上运行时,它也不能工作。如果在
insert
_batch中插入或更新一行失败,会发生什么情况?所有插入都失败还是只有那一行失败? 谢谢。
浏览 48
提问于2019-01-18
得票数 0
4
回答
我可以在
codeigniter
中将array添加到where子句到
update_batch
吗
、
我正在使用
codeigniter
update_batch
函数。 'name' => 'Another Name 2' , )而不是这样: $this->db->
update_batch
('mytable'
浏览 0
提问于2012-03-05
得票数 7
4
回答
如何进行批量更新?
、
如何在
CodeIgniter
中进行批量更新,而不是每次都在数据库中触发查询?
浏览 3
提问于2010-10-25
得票数 3
回答已采纳
1
回答
如何划分由
CodeIgniter
的
update_batch
()
和
insert
_batch()执行的数据行?
、
、
、
、
我的目标是使用
CodeIgniter
的
insert
_batch()
和
update_batch
()的组合将传入的数据添加到我的macro_plan表中。function
insert
_batch($dataSet) $query = $this->db->query("select sr_no from macro_plan");$update_query = $query1->result(); if ($update_query->num_
浏览 1
提问于2020-05-30
得票数 1
回答已采纳
2
回答
与PHP multi_query等效的
Codeigniter
是什么?
、
、
$DB->mysqli->error;}
Codeigniter
中PHP的multi_query()的等价物是什么?如果没有等价物-我如何在
Codeigniter
中使用multi_query()?
浏览 3
提问于2017-01-11
得票数 2
回答已采纳
2
回答
不使用列值加法的
CodeIgniter
更新查询
、
在
CodeIgniter
中,使用查询生成器更新很好,但在我的示例中,我必须以以下方式运行多个更新查询。
浏览 5
提问于2017-03-18
得票数 1
回答已采纳
1
回答
使用活动记录更新
codeigniter
中的多条记录
、
我正在尝试使用
update_batch
更新
codeigniter
中的多个记录,但它不起作用。'id_sumber' => $id_sumber[$x],$this->db->
update_batch
浏览 3
提问于2017-03-09
得票数 0
3
回答
Laravel 5.2更新/插入批处理类似于
Codeigniter
的update_ batch /
insert
_batch()
、
、
、
、
laravel是否有类似于
Codeigniter
的更新批处理功能?
Codeigniter
使用$this->db->
update_batch
('mytable', $data, 'title');进行批量更新。更多信息可以在上找到。如果您研究一下这段代码,您的数据库可能会被击倒,因为它一直保持连接,这与
update_batch
()不同,它只抛出一个事务。
浏览 6
提问于2015-12-29
得票数 0
2
回答
Codeigniter
活动记录查询
、
、
如何将此过程查询编写为
codeigniter
活动记录查询(
update_batch
模式) UPDATE products SET current_stock = current_stock + 1
浏览 1
提问于2015-12-06
得票数 0
1
回答
如何使用
Codeigniter
数组执行批量更新?
大家好,我只想问一下如何在
CodeIgniter
中使用数组执行批量更新,下面是我的示例代码: $id = $this
浏览 2
提问于2013-08-27
得票数 13
回答已采纳
1
回答
点类型MySQL数据类型的
Codeigniter
的
update_batch
?
、
、
、
$loc['latitude'].")"我的表中有一个用于由于某些原因,
update_batch
不能处理POINT()数据类型。
Codeigniter
似乎不喜欢POINT类型,或者它转义了一些东西。有没有解决这个问题的办法?
浏览 0
提问于2018-10-31
得票数 1
1
回答
Codeigniter
更新批量查询问题
、
、
sku] => LN_STEEL_N3_BLK_M$this->db->_protect_identifiers=false; $this->db->
update_batch
浏览 2
提问于2015-03-19
得票数 2
2
回答
如何在
codeigniter
中的
update_batch
之前给出where条件?
我想要更新我的表,其中输入相同的输入字段名称为array,并具有add more函数,该函数生成如下的输入字段: $this->db->trans_start(); $this->db->
update_batch
浏览 3
提问于2013-05-04
得票数 0
4
回答
代码点火器-具有多个Where条件的批更新
、
、
首先,
update_batch
上的
Codeigniter
文档不存在。kenjis很好地提供了一些文档并将其提交给存储库。希望他们很快就能成功。有人知道如何向Codeigniters
update_batch
命令添加多个where条件吗?我想要的用途: 'title',); $this->db->
update_batch
('mytable', $data, $whereFilename:
浏览 8
提问于2011-09-14
得票数 16
回答已采纳
2
回答
在
CodeIgniter
中检查
update_batch
()是否成功
、
、
我正在
CodeIgniter
中的一个表上运行
update_batch
(),我想检查它是否成功。我尝试过使用affected_rows(),但它只计算被修改的表单域的数量,所以不能完全解决这个问题: $this->db->
update_batch
("sections", $data, "alias
浏览 2
提问于2012-05-01
得票数 4
3
回答
更新行,但如果代码点火器中不存在行,则插入行
、
、
我想在表中插入行,如下所示: $this->db->
insert
_batch($this->table_name, $update);但是如果它存在,,我不想做任何事情,。我想我可以做一个插入,忽略,但我更喜欢使用CodeIgniters,,upate_batch,<e
浏览 2
提问于2014-06-04
得票数 1
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
头条:基于WordPress,Joomla和CodeIgniter的数以百计的网站感染ionCube恶意软件
四个最佳后端框架推荐
【行业资讯】PHP 框架 CodeIgniter 发布 4.3 版
为开发者准备的30个PHP框架
PHP五大主流框架介绍
热门
标签
更多标签
云服务器
ICP备案
即时通信 IM
云直播
实时音视频
活动推荐
运营活动
广告
关闭
领券
首页
学习
活动
专区
圈层
工具
MCP广场
返回腾讯云官网