| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
42
|
20898
|
1725
-
1741
|
Select
|
scalikejdbc.SQLSyntaxSupportFeature.SQLSyntaxSupport.syntax
|
org.scalatest.testsuite
|
DefaultPersistentCrmQuestionTemplateService.this.templates.syntax
|
|
45
|
19942
|
1860
-
1880
|
Select
|
org.make.api.extensions.MakeDBExecutionContextComponent.readExecutionContext
|
|
DefaultPersistentCrmQuestionTemplateServiceComponent.this.readExecutionContext
|
|
46
|
21563
|
1887
-
2100
|
ApplyToImplicitArgs
|
scala.concurrent.Future.apply
|
|
scala.concurrent.Future.apply[List[org.make.core.crmTemplate.CrmQuestionTemplate]]({
<artifact> val qual$1: org.make.api.technical.DatabaseTransactions.RichDatabase = org.make.api.technical.DatabaseTransactions.RichDatabase({
<artifact> val x$1: String("READ") = "READ";
<artifact> val x$2: scalikejdbc.SettingsProvider = scalikejdbc.NamedDB.apply$default$2;
<artifact> val x$3: scalikejdbc.ConnectionPoolContext = scalikejdbc.NamedDB.apply$default$3("READ", x$2);
scalikejdbc.NamedDB.apply("READ", x$2)(x$3)
});
<artifact> val x$7: scalikejdbc.DBSession => List[org.make.core.crmTemplate.CrmQuestionTemplate] @scala.reflect.internal.annotations.uncheckedBounds = ((implicit session: scalikejdbc.DBSession) => {
<synthetic> <stable> <artifact> val stabilizer$1: scalikejdbc.SQLToList[org.make.core.crmTemplate.CrmQuestionTemplate,scalikejdbc.HasExtractor] @scala.reflect.internal.annotations.uncheckedBounds = scalikejdbc.`package`.withSQL.apply[Nothing](scalikejdbc.`package`.select.from[Nothing](DefaultPersistentCrmQuestionTemplateService.this.templates.as(DefaultPersistentCrmQuestionTemplateService.this.t)).where.eq[org.make.core.question.QuestionId]((DefaultPersistentCrmQuestionTemplateService.this.t.field("questionId"): scalikejdbc.interpolation.SQLSyntax), questionId)(org.make.api.technical.ScalikeSupport.questionIdBinders)).map[org.make.core.crmTemplate.CrmQuestionTemplate](((rs: scalikejdbc.WrappedResultSet) => DefaultPersistentCrmQuestionTemplateService.this.templates.apply(DefaultPersistentCrmQuestionTemplateService.this.t.resultName)(rs))).list;
{
<artifact> val x$4: scalikejdbc.DBSession = session;
<artifact> val x$5: scalikejdbc.SQL[org.make.core.crmTemplate.CrmQuestionTemplate,scalikejdbc.HasExtractor] =:= scalikejdbc.SQL[org.make.core.crmTemplate.CrmQuestionTemplate,scalikejdbc.HasExtractor] @scala.reflect.internal.annotations.uncheckedBounds = GeneralizedTypeConstraintsForWithExtractor.this.=:=.tpEquals[scalikejdbc.SQL[org.make.core.crmTemplate.CrmQuestionTemplate,scalikejdbc.HasExtractor]];
<artifact> val x$6: scalikejdbc.ConnectionPoolContext = stabilizer$1.apply$default$2();
stabilizer$1.apply()(x$4, x$6, x$5)
}
});
<artifact> val x$8: scalikejdbc.TxBoundary[List[org.make.core.crmTemplate.CrmQuestionTemplate]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.retryableTx$default$2[List[org.make.core.crmTemplate.CrmQuestionTemplate]](x$7);
qual$1.retryableTx[List[org.make.core.crmTemplate.CrmQuestionTemplate]](x$7)(x$8)
})(context)
|
|
54
|
20660
|
2255
-
2275
|
Select
|
org.make.api.extensions.MakeDBExecutionContextComponent.readExecutionContext
|
|
DefaultPersistentCrmQuestionTemplateServiceComponent.this.readExecutionContext
|
|
55
|
20219
|
2282
-
2596
|
ApplyToImplicitArgs
|
scala.concurrent.Future.apply
|
|
scala.concurrent.Future.apply[List[org.make.core.crmTemplate.CrmQuestionTemplate]]({
<artifact> val qual$1: org.make.api.technical.DatabaseTransactions.RichDatabase = org.make.api.technical.DatabaseTransactions.RichDatabase({
<artifact> val x$1: String("READ") = "READ";
<artifact> val x$2: scalikejdbc.SettingsProvider = scalikejdbc.NamedDB.apply$default$2;
<artifact> val x$3: scalikejdbc.ConnectionPoolContext = scalikejdbc.NamedDB.apply$default$3("READ", x$2);
scalikejdbc.NamedDB.apply("READ", x$2)(x$3)
});
<artifact> val x$7: scalikejdbc.DBSession => List[org.make.core.crmTemplate.CrmQuestionTemplate] @scala.reflect.internal.annotations.uncheckedBounds = ((implicit session: scalikejdbc.DBSession) => {
<synthetic> <stable> <artifact> val stabilizer$1: scalikejdbc.SQLToList[org.make.core.crmTemplate.CrmQuestionTemplate,scalikejdbc.HasExtractor] @scala.reflect.internal.annotations.uncheckedBounds = scalikejdbc.`package`.withSQL.apply[Nothing](scalikejdbc.`package`.select.from[Nothing](DefaultPersistentCrmQuestionTemplateService.this.templates.as(DefaultPersistentCrmQuestionTemplateService.this.t)).where.eq[org.make.core.question.QuestionId]((DefaultPersistentCrmQuestionTemplateService.this.t.field("questionId"): scalikejdbc.interpolation.SQLSyntax), questionId)(org.make.api.technical.ScalikeSupport.questionIdBinders).and.eq[org.make.core.reference.Language]((DefaultPersistentCrmQuestionTemplateService.this.t.field("language"): scalikejdbc.interpolation.SQLSyntax), language)(org.make.api.technical.ScalikeSupport.languageBinders)).map[org.make.core.crmTemplate.CrmQuestionTemplate](((rs: scalikejdbc.WrappedResultSet) => DefaultPersistentCrmQuestionTemplateService.this.templates.apply(DefaultPersistentCrmQuestionTemplateService.this.t.resultName)(rs))).list;
{
<artifact> val x$4: scalikejdbc.DBSession = session;
<artifact> val x$5: scalikejdbc.SQL[org.make.core.crmTemplate.CrmQuestionTemplate,scalikejdbc.HasExtractor] =:= scalikejdbc.SQL[org.make.core.crmTemplate.CrmQuestionTemplate,scalikejdbc.HasExtractor] @scala.reflect.internal.annotations.uncheckedBounds = GeneralizedTypeConstraintsForWithExtractor.this.=:=.tpEquals[scalikejdbc.SQL[org.make.core.crmTemplate.CrmQuestionTemplate,scalikejdbc.HasExtractor]];
<artifact> val x$6: scalikejdbc.ConnectionPoolContext = stabilizer$1.apply$default$2();
stabilizer$1.apply()(x$4, x$6, x$5)
}
});
<artifact> val x$8: scalikejdbc.TxBoundary[List[org.make.core.crmTemplate.CrmQuestionTemplate]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.retryableTx$default$2[List[org.make.core.crmTemplate.CrmQuestionTemplate]](x$7);
qual$1.retryableTx[List[org.make.core.crmTemplate.CrmQuestionTemplate]](x$7)(x$8)
})(context)
|
|
69
|
21692
|
2726
-
2746
|
Select
|
org.make.api.extensions.MakeDBExecutionContextComponent.readExecutionContext
|
org.scalatest.testsuite
|
DefaultPersistentCrmQuestionTemplateServiceComponent.this.readExecutionContext
|
|
70
|
20741
|
2753
-
2952
|
ApplyToImplicitArgs
|
scala.concurrent.Future.apply
|
org.scalatest.testsuite
|
scala.concurrent.Future.apply[Option[org.make.core.crmTemplate.CrmQuestionTemplate]]({
<artifact> val qual$1: org.make.api.technical.DatabaseTransactions.RichDatabase = org.make.api.technical.DatabaseTransactions.RichDatabase({
<artifact> val x$1: String("READ") = "READ";
<artifact> val x$2: scalikejdbc.SettingsProvider = scalikejdbc.NamedDB.apply$default$2;
<artifact> val x$3: scalikejdbc.ConnectionPoolContext = scalikejdbc.NamedDB.apply$default$3("READ", x$2);
scalikejdbc.NamedDB.apply("READ", x$2)(x$3)
});
<artifact> val x$7: scalikejdbc.DBSession => Option[org.make.core.crmTemplate.CrmQuestionTemplate] @scala.reflect.internal.annotations.uncheckedBounds = ((implicit session: scalikejdbc.DBSession) => {
<synthetic> <stable> <artifact> val stabilizer$1: scalikejdbc.SQLToOption[org.make.core.crmTemplate.CrmQuestionTemplate,scalikejdbc.HasExtractor] @scala.reflect.internal.annotations.uncheckedBounds = scalikejdbc.`package`.withSQL.apply[Nothing](scalikejdbc.`package`.select.from[Nothing](DefaultPersistentCrmQuestionTemplateService.this.templates.as(DefaultPersistentCrmQuestionTemplateService.this.t)).where.eq[org.make.core.crmTemplate.CrmQuestionTemplateId]((DefaultPersistentCrmQuestionTemplateService.this.t.field("id"): scalikejdbc.interpolation.SQLSyntax), id)(org.make.api.technical.ScalikeSupport.crmQuestionTemplateIdBinders)).map[org.make.core.crmTemplate.CrmQuestionTemplate](((rs: scalikejdbc.WrappedResultSet) => DefaultPersistentCrmQuestionTemplateService.this.templates.apply(DefaultPersistentCrmQuestionTemplateService.this.t.resultName)(rs))).single;
{
<artifact> val x$4: scalikejdbc.DBSession = session;
<artifact> val x$5: scalikejdbc.SQL[org.make.core.crmTemplate.CrmQuestionTemplate,scalikejdbc.HasExtractor] =:= scalikejdbc.SQL[org.make.core.crmTemplate.CrmQuestionTemplate,scalikejdbc.HasExtractor] @scala.reflect.internal.annotations.uncheckedBounds = GeneralizedTypeConstraintsForWithExtractor.this.=:=.tpEquals[scalikejdbc.SQL[org.make.core.crmTemplate.CrmQuestionTemplate,scalikejdbc.HasExtractor]];
<artifact> val x$6: scalikejdbc.ConnectionPoolContext = stabilizer$1.apply$default$2();
stabilizer$1.apply()(x$4, x$6, x$5)
}
});
<artifact> val x$8: scalikejdbc.TxBoundary[Option[org.make.core.crmTemplate.CrmQuestionTemplate]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.retryableTx$default$2[Option[org.make.core.crmTemplate.CrmQuestionTemplate]](x$7);
qual$1.retryableTx[Option[org.make.core.crmTemplate.CrmQuestionTemplate]](x$7)(x$8)
})(context)
|
|
78
|
19821
|
3082
-
3103
|
Select
|
org.make.api.extensions.MakeDBExecutionContextComponent.writeExecutionContext
|
org.scalatest.testsuite
|
DefaultPersistentCrmQuestionTemplateServiceComponent.this.writeExecutionContext
|
|
81
|
21533
|
3110
-
3304
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.scalatest.testsuite
|
scala.concurrent.Future.apply[Int]({
<artifact> val qual$1: org.make.api.technical.DatabaseTransactions.RichDatabase = org.make.api.technical.DatabaseTransactions.RichDatabase({
<artifact> val x$1: String("WRITE") = "WRITE";
<artifact> val x$2: scalikejdbc.SettingsProvider = scalikejdbc.NamedDB.apply$default$2;
<artifact> val x$3: scalikejdbc.ConnectionPoolContext = scalikejdbc.NamedDB.apply$default$3("WRITE", x$2);
scalikejdbc.NamedDB.apply("WRITE", x$2)(x$3)
});
<artifact> val x$4: scalikejdbc.DBSession => Int @scala.reflect.internal.annotations.uncheckedBounds = ((implicit session: scalikejdbc.DBSession) => scalikejdbc.`package`.withSQL.apply[scalikejdbc.UpdateOperation](scalikejdbc.`package`.insert.into(DefaultPersistentCrmQuestionTemplateService.this.templates).namedValues((scala.collection.immutable.Map.apply[scalikejdbc.interpolation.SQLSyntax, scalikejdbc.ParameterBinder]((DefaultPersistentCrmQuestionTemplateService.this.templates.column.field("id"): scalikejdbc.interpolation.SQLSyntax).->[org.make.core.crmTemplate.CrmQuestionTemplateId](template.id)(org.make.api.technical.ScalikeSupport.crmQuestionTemplateIdBinders), (DefaultPersistentCrmQuestionTemplateService.this.templates.column.field("kind"): scalikejdbc.interpolation.SQLSyntax).->[org.make.core.crmTemplate.CrmTemplateKind](template.kind)(org.make.api.technical.ScalikeSupport.crmTemplateKindBinders), (DefaultPersistentCrmQuestionTemplateService.this.templates.column.field("questionId"): scalikejdbc.interpolation.SQLSyntax).->[org.make.core.question.QuestionId](template.questionId)(org.make.api.technical.ScalikeSupport.questionIdBinders), (DefaultPersistentCrmQuestionTemplateService.this.templates.column.field("template"): scalikejdbc.interpolation.SQLSyntax).->[org.make.core.crmTemplate.TemplateId](template.template)(org.make.api.technical.ScalikeSupport.templateIdBinders), (DefaultPersistentCrmQuestionTemplateService.this.templates.column.field("language"): scalikejdbc.interpolation.SQLSyntax).->[org.make.core.reference.Language](template.language)(org.make.api.technical.ScalikeSupport.languageBinders)): Map[scalikejdbc.SQLSyntax,scalikejdbc.ParameterBinder]))).update.apply()(session));
<artifact> val x$5: scalikejdbc.TxBoundary[Int] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.retryableTx$default$2[Int](x$4);
qual$1.retryableTx[Int](x$4)(x$5)
})(context).map[org.make.core.crmTemplate.CrmQuestionTemplate](((x$1: Int) => template))(context)
|
|
85
|
21012
|
3433
-
3454
|
Select
|
org.make.api.extensions.MakeDBExecutionContextComponent.writeExecutionContext
|
|
DefaultPersistentCrmQuestionTemplateServiceComponent.this.writeExecutionContext
|
|
90
|
20014
|
3461
-
3694
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
scala.concurrent.Future.apply[Int]({
<artifact> val qual$1: org.make.api.technical.DatabaseTransactions.RichDatabase = org.make.api.technical.DatabaseTransactions.RichDatabase({
<artifact> val x$1: String("WRITE") = "WRITE";
<artifact> val x$2: scalikejdbc.SettingsProvider = scalikejdbc.NamedDB.apply$default$2;
<artifact> val x$3: scalikejdbc.ConnectionPoolContext = scalikejdbc.NamedDB.apply$default$3("WRITE", x$2);
scalikejdbc.NamedDB.apply("WRITE", x$2)(x$3)
});
<artifact> val x$4: scalikejdbc.DBSession => Int @scala.reflect.internal.annotations.uncheckedBounds = ((implicit session: scalikejdbc.DBSession) => scalikejdbc.`package`.withSQL.apply[scalikejdbc.UpdateOperation](scalikejdbc.`package`.update.apply(DefaultPersistentCrmQuestionTemplateService.this.templates).set((scala.collection.immutable.Map.apply[scalikejdbc.interpolation.SQLSyntax, scalikejdbc.ParameterBinder]((DefaultPersistentCrmQuestionTemplateService.this.templates.column.field("kind"): scalikejdbc.interpolation.SQLSyntax).->[org.make.core.crmTemplate.CrmTemplateKind](template.kind)(org.make.api.technical.ScalikeSupport.crmTemplateKindBinders), (DefaultPersistentCrmQuestionTemplateService.this.templates.column.field("questionId"): scalikejdbc.interpolation.SQLSyntax).->[org.make.core.question.QuestionId](template.questionId)(org.make.api.technical.ScalikeSupport.questionIdBinders), (DefaultPersistentCrmQuestionTemplateService.this.templates.column.field("template"): scalikejdbc.interpolation.SQLSyntax).->[org.make.core.crmTemplate.TemplateId](template.template)(org.make.api.technical.ScalikeSupport.templateIdBinders), (DefaultPersistentCrmQuestionTemplateService.this.templates.column.field("language"): scalikejdbc.interpolation.SQLSyntax).->[org.make.core.reference.Language](template.language)(org.make.api.technical.ScalikeSupport.languageBinders)): Map[scalikejdbc.SQLSyntax,scalikejdbc.ParameterBinder])).where.eq[org.make.core.crmTemplate.CrmQuestionTemplateId]((DefaultPersistentCrmQuestionTemplateService.this.t.field("id"): scalikejdbc.interpolation.SQLSyntax), template.id)(org.make.api.technical.ScalikeSupport.crmQuestionTemplateIdBinders)).update.apply()(session));
<artifact> val x$5: scalikejdbc.TxBoundary[Int] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.retryableTx$default$2[Int](x$4);
qual$1.retryableTx[Int](x$4)(x$5)
})(context).map[org.make.core.crmTemplate.CrmQuestionTemplate](((x$2: Int) => template))(context)
|
|
94
|
21538
|
3804
-
3824
|
Select
|
org.make.api.extensions.MakeDBExecutionContextComponent.readExecutionContext
|
|
DefaultPersistentCrmQuestionTemplateServiceComponent.this.readExecutionContext
|
|
95
|
20702
|
3831
-
3969
|
ApplyToImplicitArgs
|
scala.concurrent.Future.apply
|
|
scala.concurrent.Future.apply[Unit]({
{
<artifact> val qual$1: org.make.api.technical.DatabaseTransactions.RichDatabase = org.make.api.technical.DatabaseTransactions.RichDatabase({
<artifact> val x$1: String("WRITE") = "WRITE";
<artifact> val x$2: scalikejdbc.SettingsProvider = scalikejdbc.NamedDB.apply$default$2;
<artifact> val x$3: scalikejdbc.ConnectionPoolContext = scalikejdbc.NamedDB.apply$default$3("WRITE", x$2);
scalikejdbc.NamedDB.apply("WRITE", x$2)(x$3)
});
<artifact> val x$4: scalikejdbc.DBSession => Boolean @scala.reflect.internal.annotations.uncheckedBounds = ((implicit session: scalikejdbc.DBSession) => scalikejdbc.`package`.withSQL.apply[scalikejdbc.UpdateOperation](scalikejdbc.`package`.delete.from(DefaultPersistentCrmQuestionTemplateService.this.templates).where.eq[org.make.core.crmTemplate.CrmQuestionTemplateId]((DefaultPersistentCrmQuestionTemplateService.this.t.field("id"): scalikejdbc.interpolation.SQLSyntax), id)(org.make.api.technical.ScalikeSupport.crmQuestionTemplateIdBinders)).execute.apply()(session));
<artifact> val x$5: scalikejdbc.TxBoundary[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.retryableTx$default$2[Boolean](x$4);
qual$1.retryableTx[Boolean](x$4)(x$5)
};
()
})(context)
|