function2.query

来自「Pegasus is an open-source implementation」· QUERY 代码 · 共 25 行

QUERY
25
字号
##################################### This set of queries targest a set of association instances for# CIM_RunningOS.  Specifically, these statements are testing the CQL# functions which take a CIM Reference as input.  To test these call # cqlcli like this:  # cqlcli $PEGASUS_ROOT/src/Pegasus/CQL/tests/Queries/Function2.query -test 1 -className CIM_RunningOS################################################### referencetostring#############select * FROM CIM_RunningOS where referencetostring(Dependent) = 'CIM_ComputerSystem.CreationClassName="CIM_RunningOS",Name="sysName"'############## classPath#############select * FROM CIM_RunningOS where referencetostring(classpath(Dependent)) = 'CIM_ComputerSystem'############## objectPath#############select * FROM CIM_RunningOS where referencetostring(objectpath(Dependent)) = 'CIM_ComputerSystem.CreationClassName="CIM_RunningOS",Name="sysName"'

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?