我有一个角度片段,我想在其中将字符串转换为 HTML 对象。
`<div class="row">
<label class="col-md-4 info_text">Remarks<span>:</span></label> <label
class="col-md-8 fieldValue">{{initialTableInfo.comments}}
</label>
</div>`
Run Code Online (Sandbox Code Playgroud)
该initialTableInfo.comments具有的价值<b>someText</b>。它正在按原样打印。我希望将“someText”打印为someText而不是<b>someText</b>.
我有以下问题:
insert into TABLE1(a,b,c,d) VALUES('first','second','third',100);
insert into TABLE1(a,b,c,d) VALUES('first','second','third',101);
insert into TABLE1(a,b,c,d) VALUES('first','second','third',102);
insert into TABLE1(a,b,c,d) VALUES('first','second','third',103);
Run Code Online (Sandbox Code Playgroud)
colums a,b并且c在所有行中始终具有相同的值.我有100,101,102并103从select语句从另一个table.
select id from TABLE2; //returns (100,101,102,103).
Run Code Online (Sandbox Code Playgroud)
我可以使用单个查询执行此操作吗?
假设我有一个界面IBird.它有许多方法,如eat(),walk(),run()和fly().
如果基类Ostrich想要实现IBird,应该怎么做呢?因为Ostrich不能飞,但可以做其他所有的东西IBird.