所以我对android很新,我正在尝试使用Android Studio中的本指南设置Android设计支持库的浮动操作按钮.
我的项目:Noted build.gradle文件:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
Run Code Online (Sandbox Code Playgroud)
我的模块:app build.gradle文件:
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.example.noted"
minSdkVersion 21
targetSdkVersion 22
versionCode 1 …Run Code Online (Sandbox Code Playgroud) 我已经开始使用Influxdb v0.13了,我的测试数据库中有一些虚拟值,其中id是一个标记,value是一个字段:
> SELECT * FROM dummy
name: dummy
--------------
time id value
1468276508161069051 1234 12345
1468276539152853428 613 352
1468276543470535110 613 4899
1468276553853436191 1234 12
Run Code Online (Sandbox Code Playgroud)
运行此查询时,我没有返回任何结果:
> SELECT * FROM dummy WHERE id=1234
Run Code Online (Sandbox Code Playgroud)
但是在查询字段时我会得到以下信息:
> SELECT * FROM dummy WHERE value=12
name: dummy
--------------
time id value
1468276553853436191 1234 12
Run Code Online (Sandbox Code Playgroud)
我在这里做错了吗?我认为标签的要点是被查询的(因为它们被索引而字段不是),但它们似乎打破了我的疑问.