中不允许使用双引号cql
吗?
运行此查询有效
val statement4 =
s"""
| INSERT INTO users (bucket,email,firstname,lastname,authprovider,password,confirmed,id,hasher,salt) VALUES
| (1,'${testEnv.email}','fn','ln','${testEnv.loginInfo.providerID}','somePassword',false,${testEnv.mockHelperMethods.getUniqueID()},'someHasher','someSalt')
""".stripMargin
但这不是(因为我使用双引号)
val statement4 =
s"""
| INSERT INTO users (bucket,email,firstname,lastname,authprovider,password,confirmed,id,hasher,salt) VALUES
| (1,"${testEnv.email}","fn","ln","${testEnv.loginInfo.providerID}","somePassword",false,${testEnv.mockHelperMethods.getUniqueID()},"someHasher","someSalt")
""".stripMargin