腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
返回
null
的
ID
值
android
、
sqlite
、
android-database
我是android编程
的
新手,想要一些帮助或建议,为什么每当我试图通过点击更新按钮来更新数据库中
的
记录时,意味着要传递
的
id
是空
的
,所以它不会更新。如何获取更新时
Id
不为空。String COL_6 = "TRAIN"; super(context, DATABASE_NAME,
null
SQLiteDatabase db = this.getWritable
浏览 6
提问于2018-02-08
得票数 0
回答已采纳
1
回答
@Cacheable()
返回
id
null
spring
、
caching
、
hazelcast
、
spring-cache
我有一个方法findAll(),它从BD
返回
所有的特性,在这个方法中,我将注释@Cacheable放在缓存中获取数据,问题是当我执行/specialities api时,第一次得到正确
的
数据,当我第二次得到带有空is
的
数据时。
浏览 1
提问于2019-01-23
得票数 1
2
回答
返回
null
的
Mongoose
id
函数
node.js
、
mongodb
、
mongoose
我正试图从MongoDB那里得到一个子文档.我可以得到父文档,它看起来像: "_
id
" : ObjectId("5550a7948be994430f7df1b4"),3, { "
id
}console.log('g
浏览 2
提问于2015-05-15
得票数 2
回答已采纳
1
回答
Sprint TestRestTemplate
返回
Id
null
java
、
spring
、
rest
、
spring-boot
、
integration-testing
我有一个Spring应用程序
的
集成测试,它使用TestRestTemplate发出请求。每次我发出请求时,模板都会
返回
一个实体,但
id
始终为空。如果我通过Postman执行同样
的
操作,则
id
不为空,因此我一定与测试本身有关,但我不知道它是什么。有谁有主意吗?token=" + user.getToken(), HttpMethod.POST,
null
, Game.class); Assert.assertThat(gameEntity.getStatusCo
浏览 0
提问于2016-04-16
得票数 0
1
回答
JpaRepository findOne(
id
)
返回
null
java
、
spring
、
hibernate
、
spring-data-jpa
这是我在这里
的
第一篇文章,我已经在这里搜索了很长一段时间,但我没有发现类似的问题。此外,我
的
类映射似乎也是正确
的
。 我不明白,因为我已经对其他类使用了findOne(),并且我从来没有遇到过任何问题。谁能告诉我这个问题
的
根源是
浏览 1
提问于2015-04-13
得票数 2
2
回答
Firebase实例
Id
返回
null
android
、
firebase
、
push-notification
、
firebase-cloud-messaging
我正在集成Firebase
的
推送通知,根据我在我
的
项目中放入google-services.json
的
文档,我
的
gradle如下所示。com.google.firebase:firebase-messaging:9.6.1' 在我
的
活动代码中String token = FirebaseInstanceId.getInstance().getToken();
浏览 0
提问于2016-10-12
得票数 0
2
回答
Mysqli插入
id
返回
null
php
、
mysql-insert-id
(NODE, AV, BV) VALUES ('15', '$name', '$email')";$M = $Q->insert_
id
; 上面的脚本可以很好地运行查询,但是不会
返回
生成
的
唯一
ID
。所以我不知道为什么现在
返回
NULL
。
浏览 7
提问于2014-03-06
得票数 2
回答已采纳
1
回答
Scrollview (findviewby
id
)
返回
null
android
、
android-layout
、
wear-os
、
android-scrollview
滚动视图中有一个具有超长图像
的
图像视图,该图像目前是可滚动
的
。我试图让这个图像自己滚动,但是findViewById一直在滚动视图上
返回
null
。编辑:这是在android上穿
的
protected void onCreate(Bundle savedInstanceState) { //LinearLayout layout = (LinearLayout)sv.findVie
浏览 3
提问于2015-05-26
得票数 2
回答已采纳
3
回答
NOT
NULL
值
的
SELECT语句
返回
NULL
值
。
php
、
mysql
我
的
PHP代码使用$_POST获取值,然后插入到DB中。除了CU00等字段之外,所有的字段都是基于输入
的
,因为它表示主键。'$_POST[rtarget3]','CR003','$d3','$_POST[rcomment3]',NOW())";ACTUAL|TARGET|KEY |SIGNAL |TIME
NULL
<em
浏览 2
提问于2013-03-20
得票数 1
回答已采纳
3
回答
尝试在插入
值
之后到达
返回
的
ID
,但mysqli_insert_
id
()
返回
null
php
、
mysql
empty($stmt)) { $
id
= mysqli_insert_
id
(); array_push($contacts, $contact);现在,当我从我
的
前端插入我
的
信息时,
值
(用户名+密码)
浏览 14
提问于2016-06-24
得票数 2
回答已采纳
3
回答
get(
id
)
返回
id
和
null
,为什么?
javascript
、
get
、
mootools
、
alert
我正在使用mootools从一个元素中获取
id
,但它不起作用,它会
返回
id
和
null
。$$(".obj").addEvent("click",function(){ alert(objid);这在jsfiddle中正常工作,但如果你尝试在你
的
pc中编写代码,它就不会。它将一个接一个地带回两个警报,一个是
id
,另一个是
null</
浏览 1
提问于2011-02-08
得票数 1
1
回答
Laravel查询在
id
列上
返回
Null
id
php
、
mysql
、
laravel
、
laravel-4
、
eloquent
好
的
,我编写了一些代码来从我
的
数据库中
的
一些左连接中检索数据,在检索完这些数据后,我使用每个连接
的
id
来填充一个模式。问题是,它适用于已经检索到
的
一些数据。因为当我查看查询结果时,我注意到对于一些有效数据或一些无效数据,
id
为
null
->join('sometable', 'sometable.user_
id
浏览 1
提问于2016-01-15
得票数 1
2
回答
ID
为
的
房间查询
返回
null
android
、
android-room
我正在为我
的
数据库使用房间持久库。我
的
一个查询
返回
null
,我不知道为什么:@Entity @ColumnInfo(name = "I_
ID
") private final Stringthis.iNam
浏览 0
提问于2019-10-01
得票数 1
4
回答
if
null
值
子查询
返回
null
mysql
、
sql
、
sum
、
subquery
、
dbnull
from table2 and condition2 =5group by userid;2, 2394, 453 (in this ca
浏览 5
提问于2019-01-29
得票数 0
1
回答
laravel 6用户
id
返回
null
php
、
laravel
在laravel 6中,我希望获得logIn用户
的
id
,当我使用Auth::user()时,它会
返回
用户
的
所有信息,但是当我使用这段代码时,它会
返回
null
,,我用过一些问题,但他们没有给我任何答案,,<?Renderable public function index()
浏览 2
提问于2019-09-18
得票数 0
回答已采纳
4
回答
此$( jQuery ).attr(‘
id
’)
返回
null
javascript
、
jquery
因此,我在网页上
的
表格中有一张图片。图像
的
id
为"0055“,它所在
的
cell
的
id
为"0055Thumb”。').attr("src", "/images/Levi/518/11518_0055_BlackPressed_Front.png"); alert(
浏览 3
提问于2014-04-24
得票数 0
0
回答
Laravel Eloquent create
返回
null
id
php
、
laravel
、
eloquent
我有一个雄辩
的
模型Foo,有一个公共
的
bar数组:{}public function store(Request $request) $foo = new Foo; $data[
浏览 0
提问于2018-07-06
得票数 1
回答已采纳
1
回答
Wordpress - Load posts by
ID
返回
NULL
wordpress
、
wordpress-theming
我使用一个带有$_GET变量
的
页面模板来
返回
单个帖子
的
信息,该帖子是自定义帖子类型
的
一部分,但它没有
返回
任何内容。有什么想法吗? $args = array( 'p' => $_GET['funeralID'], //
id
of a page, post, or custom type
浏览 4
提问于2017-02-03
得票数 2
回答已采纳
3
回答
访问EditText
ID
数据
返回
Null
android
、
kotlin
、
kotlin-android-extensions
我是Android Kotlin
的
新手,我不能访问我在input_mtk
ID
的
xml上输入
的
值
,它在Kotlin文件上总是
返回
null
。这是我
的
代码 XML文件 <TextView android:layout_width="wrap_content/input_baha
浏览 22
提问于2021-08-29
得票数 0
回答已采纳
1
回答
ID
3
返回
null
- ActionScript
flash
、
actionscript
、
id3
Sound();sound.addEventListener(Event.
ID
3(event:Event):void var
id
3:
ID
3Info = sound.
id
3;} sou
浏览 0
提问于2014-05-19
得票数 0
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
实时音视频
对象存储
即时通信 IM
活动推荐
运营活动
广告
关闭
领券