腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
获取
id
的
数据
,
并
包
含在
Codeigniter
的
update_batch
中
php
、
sql
、
codeigniter
我有一个表shopping_cart,其中包括:
id
| user_
id
| product_
id
| quantity | total_price 4 1000 7 3000 这是我
的
update_batch
代码。有一个包含
id
和quantity字段
的
表单。我计划通过
id
获得产品价格,然后乘以数
浏览 11
提问于2021-07-14
得票数 0
1
回答
点类型MySQL
数据
类型
的
Codeigniter
的
update_batch
?
php
、
mysql
、
codeigniter
、
geocode
$locations[] = [ 'city' => $loc['city'],$loc['latitude'].")" $this->db->
update_batch
('locations', $locations, '
浏览 0
提问于2018-11-01
得票数 1
3
回答
Laravel 5.2更新/插入批处理类似于
Codeigniter
的
update_ batch /insert_batch()
php
、
database
、
codeigniter
、
laravel
、
laravel-5
laravel是否有类似于
Codeigniter
的
更新批处理功能?
Codeigniter
使用$this->db->
update_batch
('mytable', $data, 'title');进行批量更新。更多信息可以在上找到。但对于laravel
的
,它似乎只能做一笔交易。我觉得当你有多行要更新
的
时候,这是很糟糕
的
,因为它会在for循环中。类似于下面的内容:
浏览 6
提问于2015-12-29
得票数 0
2
回答
不使用列值加法
的
CodeIgniter
更新查询
mysql
、
codeigniter
在
CodeIgniter
中
,使用查询生成器更新很好,但在我
的
示例
中
,我必须以以下方式运行多个更新查询。query by some procedure will look like所以$query就像在循环
的
外部 $query=UPDATE `accounts` SET `lastbal` =
浏览 5
提问于2017-03-18
得票数 1
回答已采纳
1
回答
使用活动记录更新
codeigniter
中
的
多条记录
php
、
codeigniter
我正在尝试使用
update_batch
更新
codeigniter
中
的
多个记录,但它不起作用。这是我
的
代码 $
id
= $this->input->post('
id
'); $data[] =
浏览 3
提问于2017-03-09
得票数 0
2
回答
如何在
codeigniter
中
的
update_batch
之前给出where条件?
codeigniter
我想要更新我
的
表,其中输入相同
的
输入字段名称为array,
并
具有add more函数,该函数生成如下
的
输入字段: $this->db->trans_start(); $this->d
浏览 3
提问于2013-05-04
得票数 0
1
回答
使用PHP优化执行时间
php
、
codeigniter
我处理
的
记录大概不少于25,000条。然而,它以某种方式超过了最大执行时间。我使用
的
是
Codeigniter
3.0。 $i
浏览 0
提问于2018-10-18
得票数 0
4
回答
如何进行批量更新?
php
、
codeigniter
如何在
CodeIgniter
中进行批量更新,而不是每次都在
数据
库
中
触发查询?
浏览 3
提问于2010-10-25
得票数 3
回答已采纳
2
回答
update_batch
中
的
多个WHERE条件问题(
CodeIgniter
)
php
、
codeigniter
、
multiple-conditions
、
batch-updates
使用多所面临
的
问题,其中条件在
CodeIgniter
中
的
update_batch
。 { $sID = $this->inp
浏览 0
提问于2018-06-07
得票数 0
回答已采纳
4
回答
代码点火器-具有多个Where条件
的
批更新
codeigniter
、
activerecord
、
codeigniter-2
首先,
update_batch
上
的
Codeigniter
文档不存在。kenjis很好地提供了一些文档并将其提交给存储库。希望他们很快就能成功。有人知道如何向Codeigniters
update_batch
命令添加多个where条件吗?我想要
的
用途: 'title',); $this->db->
update_batch
('mytable', $dat
浏览 8
提问于2011-09-15
得票数 16
回答已采纳
2
回答
如何将数组
中
的
数据
发送到
数据
库
php
、
codeigniter
我从数组
中
的
输入框
中
获取
一个值。我想用一个insert查询将所有这些内容发布到一个
数据
库
中
,这样所有相关
的
数据
都可以一起插入到MySQL
中
foreach ($_POST['stop'] as $stopIndex =timingIndex => $timingValue) { foreach ($_POST['ampm'] as $ampmInd
浏览 1
提问于2013-04-09
得票数 0
2
回答
在Ruby中使用单个命令更新多个记录
ruby-on-rails
、
ruby
、
ruby-on-rails-5
、
rails-activerecord
基本上,我希望更新api在单个命令
中
接收到
的
对象数组。我在插入
的
时候已经做了,但是我找不到一种方法来更新它。下面是用于多次插入
的
m create方法: def create_all render json:attendance_params :student_
id</
浏览 14
提问于2020-04-14
得票数 1
回答已采纳
2
回答
在一个表单提交
中
更新多行代码点火器
php
、
forms
、
codeigniter
搜索后,谷歌已经找不到一个有着同样案件的人,类别数可以是动态
的
,每个 TextBox都包含其名称=“质询”与类别
ID
合并,
并
使其为"question12、question13“等。我知道
update_batch
(),但是我如何获得值并将它们放在数组
中
,因为它们可能是未知
的
。 如何在
CodeIgniter
中</em
浏览 2
提问于2017-05-10
得票数 2
回答已采纳
1
回答
现在()
的
Update_batch
数组代码点火器不起作用
php
、
codeigniter
、
timestamp
我想要
的
是使用
codeigniter
进行
数据
库更新,在其中我将当前时间戳
的
值:我
的
设置数组: '
id
' =>'etid' => '5', 'modified_date' => $cu
浏览 0
提问于2017-04-04
得票数 0
回答已采纳
1
回答
如果未找到
数据
则插入,如果找到
数据
则更新-
Codeigniter
PHP
php
、
codeigniter
、
insert
、
invoice
我要疯了,这是我
的
代码{ $data = array(= $this->db->insert_
id
(); for ($i=0;$i<count($post['nombre_producto']);$i++) {
浏览 0
提问于2017-01-25
得票数 0
2
回答
使用简单数组在
codeigniter
中进行批量更新
php
、
arrays
、
codeigniter
、
activerecord
我想在codeignter中进行批量更新
并
传递数组
数据
,而不是运行多个查询。Array ( [439] => 0 [440] => 0 [441] => 0 [442] => 1 [443] => 0 ){ '
浏览 0
提问于2014-02-01
得票数 0
1
回答
Codeigniter
:
update_batch
不能转义字段名
php
、
sql
、
codeigniter
、
escaping
我尝试使用
Codeigniter
中
活动记录助手中
的
update_batch
()函数,如下所示:$this->db->where('event_
id
',$data['event_
id
']);ech
浏览 1
提问于2012-02-04
得票数 0
回答已采纳
1
回答
如何划分由
CodeIgniter
的
update_batch
()和insert_batch()执行
的
数据
行?
php
、
sql
、
codeigniter
、
activerecord
、
batch-processing
我
的
目标是使用
CodeIgniter
的
insert_batch()和
update_batch
()
的
组合将传入
的
数据
添加到我
的
macro_plan表
中
。在下面的脚本
中
,我试图基于sr_no值查询
数据
库
中
的
现有行,然后适当地调用批处理查询方法。$update_query = $query1->result(); if ($update_query->
浏览 1
提问于2020-05-30
得票数 1
回答已采纳
2
回答
如何在代码点火器mysql中使用不同
的
id
进行多次更新
mysql
、
codeigniter
、
batch-updates
, 8797987979 assign_
id
, lead_
id
, lead_number 2 , 0 , 3465799855 我想更新表2
中
对应于lead_
id
的
lead_numberassign_
id
, lead_
id
浏览 3
提问于2017-05-26
得票数 0
回答已采纳
2
回答
如何在
Codeigniter
的
更新批处理中使用where条件
codeigniter
、
codeigniter-3
我希望使用以下命令更新多行但是我不知道如何在这个
update_batch
中
给出条件。我可以在哪里使用这个吗?$this->db->where('
id
', Multiple Ids Here);
浏览 2
提问于2017-06-01
得票数 2
点击加载更多
热门
标签
更多标签
云服务器
对象存储
ICP备案
云点播
腾讯会议
活动推荐
运营活动
广告
关闭
领券