本文整理汇总了Python中pystratum_mysql.StaticDataLayer.StaticDataLayer.execute_sp_row0方法的典型用法代码示例。如果您正苦于以下问题:Python StaticDataLayer.execute_sp_row0方法的具体用法?Python StaticDataLayer.execute_sp_row0怎么用?Python StaticDataLayer.execute_sp_row0使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pystratum_mysql.StaticDataLayer.StaticDataLayer
的用法示例。
在下文中一共展示了StaticDataLayer.execute_sp_row0方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: enk_back_run_node_find_by_uri
# 需要导入模块: from pystratum_mysql.StaticDataLayer import StaticDataLayer [as 别名]
# 或者: from pystratum_mysql.StaticDataLayer.StaticDataLayer import execute_sp_row0 [as 别名]
def enk_back_run_node_find_by_uri(p_uri_uri):
"""
Selects a current run node based on the URI of the node.
:param str p_uri_uri: The URI of the node.
varchar(4000) character set ascii collation ascii_general_ci
:rtype: None|dict[str,*]
"""
return StaticDataLayer.execute_sp_row0("call enk_back_run_node_find_by_uri(%s)", p_uri_uri)
示例2: tst_test_row0a
# 需要导入模块: from pystratum_mysql.StaticDataLayer import StaticDataLayer [as 别名]
# 或者: from pystratum_mysql.StaticDataLayer.StaticDataLayer import execute_sp_row0 [as 别名]
def tst_test_row0a(p_count):
"""
Test for designation type row0.
:param int p_count: The number of rows selected.
* 0 For a valid test.
* 1 For a valid test.
* 2 For a invalid test.
int(11)
:rtype: None|dict[str,*]
"""
return StaticDataLayer.execute_sp_row0("call tst_test_row0a(%s)", p_count)
示例3: tst_test_row0a_with_lob
# 需要导入模块: from pystratum_mysql.StaticDataLayer import StaticDataLayer [as 别名]
# 或者: from pystratum_mysql.StaticDataLayer.StaticDataLayer import execute_sp_row0 [as 别名]
def tst_test_row0a_with_lob(p_count, p_blob):
"""
Test for designation type row0 with BLOB.
:param int p_count: The number of rows selected.
* 0 For a valid test.
* 1 For a valid test.
* 2 For a invalid test.
int(11)
:param bytes p_blob: The BLOB.
blob
:rtype: None|dict[str,*]
"""
return StaticDataLayer.execute_sp_row0("call tst_test_row0a_with_lob(%s, %s)", p_count, p_blob)