本文整理汇总了Python中pystratum_mysql.StaticDataLayer.StaticDataLayer.execute_sp_row1方法的典型用法代码示例。如果您正苦于以下问题:Python StaticDataLayer.execute_sp_row1方法的具体用法?Python StaticDataLayer.execute_sp_row1怎么用?Python StaticDataLayer.execute_sp_row1使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pystratum_mysql.StaticDataLayer.StaticDataLayer
的用法示例。
在下文中一共展示了StaticDataLayer.execute_sp_row1方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: tst_test_find_designation_type05
# 需要导入模块: from pystratum_mysql.StaticDataLayer import StaticDataLayer [as 别名]
# 或者: from pystratum_mysql.StaticDataLayer.StaticDataLayer import execute_sp_row1 [as 别名]
def tst_test_find_designation_type05():
"""
Test for designation type.
:rtype: dict[str,*]
"""
return StaticDataLayer.execute_sp_row1("call tst_test_find_designation_type05()")
示例2: tst_constant01
# 需要导入模块: from pystratum_mysql.StaticDataLayer import StaticDataLayer [as 别名]
# 或者: from pystratum_mysql.StaticDataLayer.StaticDataLayer import execute_sp_row1 [as 别名]
def tst_constant01():
"""
Test for constant.
:rtype: dict[str,*]
"""
return StaticDataLayer.execute_sp_row1("call tst_constant01()")
示例3: enk_reader_resource_load_resource
# 需要导入模块: from pystratum_mysql.StaticDataLayer import StaticDataLayer [as 别名]
# 或者: from pystratum_mysql.StaticDataLayer.StaticDataLayer import execute_sp_row1 [as 别名]
def enk_reader_resource_load_resource(p_rsc_id):
"""
Selects the details of a resource.
:param int p_rsc_id: The ID of the resource.
int(11)
:rtype: dict[str,*]
"""
return StaticDataLayer.execute_sp_row1("call enk_reader_resource_load_resource(%s)", p_rsc_id)
示例4: enk_front_run_node_get_status
# 需要导入模块: from pystratum_mysql.StaticDataLayer import StaticDataLayer [as 别名]
# 或者: from pystratum_mysql.StaticDataLayer.StaticDataLayer import execute_sp_row1 [as 别名]
def enk_front_run_node_get_status(p_rnd_id):
"""
Selects current status of a run node.
:param int p_rnd_id: The ID of the run node.
int(11)
:rtype: dict[str,*]
"""
return StaticDataLayer.execute_sp_row1("call enk_front_run_node_get_status(%s)", p_rnd_id)
示例5: enk_reader_host_load_host
# 需要导入模块: from pystratum_mysql.StaticDataLayer import StaticDataLayer [as 别名]
# 或者: from pystratum_mysql.StaticDataLayer.StaticDataLayer import execute_sp_row1 [as 别名]
def enk_reader_host_load_host(p_hst_name):
"""
Selects the details of a host.
:param str p_hst_name: The hostname.
varchar(64) character set utf8 collation utf8_general_ci
:rtype: dict[str,*]
"""
return StaticDataLayer.execute_sp_row1("call enk_reader_host_load_host(%s)", p_hst_name)
示例6: enk_front_run_get_addendum
# 需要导入模块: from pystratum_mysql.StaticDataLayer import StaticDataLayer [as 别名]
# 或者: from pystratum_mysql.StaticDataLayer.StaticDataLayer import execute_sp_row1 [as 别名]
def enk_front_run_get_addendum(p_run_id):
"""
Selects the addendum of a schedule revision of a run.
:param int p_run_id: The ID of the run.
int(10) unsigned
:rtype: dict[str,*]
"""
return StaticDataLayer.execute_sp_row1("call enk_front_run_get_addendum(%s)", p_run_id)
示例7: enk_blob_get_details
# 需要导入模块: from pystratum_mysql.StaticDataLayer import StaticDataLayer [as 别名]
# 或者: from pystratum_mysql.StaticDataLayer.StaticDataLayer import execute_sp_row1 [as 别名]
def enk_blob_get_details(p_blb_id):
"""
Selects the details of a BLOB (but not the data).
:param int p_blb_id: The ID of the BLOB.
int(10) unsigned
:rtype: dict[str,*]
"""
return StaticDataLayer.execute_sp_row1("call enk_blob_get_details(%s)", p_blb_id)
示例8: enk_back_schedule_get_schedule
# 需要导入模块: from pystratum_mysql.StaticDataLayer import StaticDataLayer [as 别名]
# 或者: from pystratum_mysql.StaticDataLayer.StaticDataLayer import execute_sp_row1 [as 别名]
def enk_back_schedule_get_schedule(p_sch_id):
"""
Selects data of a schedule.
:param int p_sch_id: The ID of the schedule.
smallint(5) unsigned
:rtype: dict[str,*]
"""
return StaticDataLayer.execute_sp_row1("call enk_back_schedule_get_schedule(%s)", p_sch_id)
示例9: enk_back_run_node_get_dynamic_info_by_generator
# 需要导入模块: from pystratum_mysql.StaticDataLayer import StaticDataLayer [as 别名]
# 或者: from pystratum_mysql.StaticDataLayer.StaticDataLayer import execute_sp_row1 [as 别名]
def enk_back_run_node_get_dynamic_info_by_generator(p_rnd_id_generator):
"""
Selects data of a dynamic node by the node ID of its generator.
:param int p_rnd_id_generator: The run node ID of the generator.
int(11)
:rtype: dict[str,*]
"""
return StaticDataLayer.execute_sp_row1("call enk_back_run_node_get_dynamic_info_by_generator(%s)", p_rnd_id_generator)
示例10: enk_back_run_node_get_details
# 需要导入模块: from pystratum_mysql.StaticDataLayer import StaticDataLayer [as 别名]
# 或者: from pystratum_mysql.StaticDataLayer.StaticDataLayer import execute_sp_row1 [as 别名]
def enk_back_run_node_get_details(p_rnd_id):
"""
Selects the details of a run node.
:param int p_rnd_id: The ID of the run node.
int(11)
:rtype: dict[str,*]
"""
return StaticDataLayer.execute_sp_row1("call enk_back_run_node_get_details(%s)", p_rnd_id)
示例11: tst_test_row1a
# 需要导入模块: from pystratum_mysql.StaticDataLayer import StaticDataLayer [as 别名]
# 或者: from pystratum_mysql.StaticDataLayer.StaticDataLayer import execute_sp_row1 [as 别名]
def tst_test_row1a(p_count):
"""
Test for designation type row1.
:param int p_count: The number of rows selected.
* 0 For a invalid test.
* 1 For a valid test.
* 2 For a invalid test.
int(11)
:rtype: dict[str,*]
"""
return StaticDataLayer.execute_sp_row1("call tst_test_row1a(%s)", p_count)
示例12: tst_test_row1a_with_lob
# 需要导入模块: from pystratum_mysql.StaticDataLayer import StaticDataLayer [as 别名]
# 或者: from pystratum_mysql.StaticDataLayer.StaticDataLayer import execute_sp_row1 [as 别名]
def tst_test_row1a_with_lob(p_count, p_blob):
"""
Test for designation type row1 with BLOB.
:param int p_count: The number of rows selected.
* 0 For a invalid test.
* 1 For a valid test.
* 2 For a invalid test.
int(11)
:param bytes p_blob: The BLOB.
blob
:rtype: dict[str,*]
"""
return StaticDataLayer.execute_sp_row1("call tst_test_row1a_with_lob(%s, %s)", p_count, p_blob)