MySQL存储过程调试(MySQL stored procedure debugging)
你有一些GUI应用程序(免费)的任何提示能够调试MySQL存储过程吗?
我尝试了devArt dbForge MySQL Studio,它工作得很好,但它不是免费的。
感谢您的任何提示。
do you have any tips for some GUI applications (free) that are capable of debugging MySQL stored procedures?
I tried devArt dbForge MySQL Studio which worked just fine, but it's not free.
Thanks for any tips.
原文:https://stackoverflow.com/questions/3007625
最满意答案
jQuery为选择返回的每个元素执行循环。 因此,如果数组中的元素为零,则循环将发生零次。 举个例子
HTML
<ul> <li>Hello World</li> </ul>
JavaScript是
var $('li');
如果您在控制台上记录它将返回一个元素数组,它将如下所示;
[<li>Hello world</li>]
因为上面是一个数组,当jQuery循环时它将执行一次。 但是,如果该部分返回零项,则循环将永远不会出现在那里
$('div').removeClass(".myClass");
基本上是removeClass插件(它是一个插件,它只是一个插件,它是核心jQuery代码的一部分)
插件会做这样的事情;
$.each($('div), function () { //some code to remove the class })
希望这有助于您了解jQuery的内部
jQuery does a loop for every element returned by the selection. So if you have zero elements in an array then the looping occurs zero times. take this example
html
<ul> <li>Hello World</li> </ul>
the JavaScript is
var $('li');
that will return an array of elements if you console log it it will look like this;
[<li>Hello world</li>]
since the above is an array when jQuery loops through it will do it once. However if the section returns zero items the loop will never occur there
$('div').removeClass(".myClass");
basically the removeClass plugin (it is a plugin by the way its just a plugin thats part of the core jQuery code)
the plugin will do something like this;
$.each($('div), function () { //some code to remove the class })
Hope this helps you understand the internals of jQuery
相关问答
更多-
删除标记之前的jQuery检查(jQuery check before delete tag)[2021-09-26]
jQuery为选择返回的每个元素执行循环。 因此,如果数组中的元素为零,则循环将发生零次。 举个例子 HTML- Hello World
- Hello world
] 因为上面是一个数组,当jQuery循环时它将执行一次。 但是,如果该部分返回零项,则循环将永远不会出现在那里 $('div').removeClass(".myClass ... -
使用.closest()来获取最接近div类的div元素。 $("body").on("click", ".remove", function (e) { if (x > 1) { $(this).closest('div.tr').remove(); // ^^ x--; } .closest() 对于集合中的每个元素,通过测试元素本身并遍历DOM树中的祖先来获取与选择器匹配的第一个元素。 Use .clos ...
-
$(document).ready(function(){ $('.LevelPrice').text($('.LevelPrice').text().replace('€', '')); }); 你也可以使用replace(/€/g, '') 。 $(document).ready(function(){ $('.LevelPrice').text($('.LevelPrice').text().replace('€', '')); }); You can use replace(/€ ...
-
我会改变你如何实现这个: var a = $("").attr("href", "#").addClass("offer"); $("").text(offer).append(a).appendTo("#resultTable"); 有: $(function() { $("a.offer").live("click", function() { $(this).closest("div").remove(); return false; }); }); 你正在 ...也许是这样的? var del = display.children().first(); console.log(del) if (del.is('del')) { del.contents().unwrap(); } del is元素应该是display的第一个子元素。 我使用了console.log(del)因为使用html()实际上是为了给你innerHTML ,这不是特别有用。 在原始代码中, display是你的p元素,这行只是“向上一个,向下一个”,最后回到p : var fir ...$('#myDiv img').length最快。 由于jQuery对象总是评估为true即使它们内部没有任何内容,你必须获得.length并查看它是否为非零。 如果图像必须是myDiv的直接子myDiv ,请使用直接子选择器: $('#myDiv > img').length $('#myDiv img').length would be fastest. Since jQuery objects always evaluate to true even if there's nothing inside ...
Javascript:如何检查/删除文档头部的CSS样式标签(Javascript: how to check/delete a css style tag in the head of the document)[2021-10-08]
只要保持参考,在这种情况下, style变量。 要检查它是否仍然在DOM中,请检查它是否有使用parentNode的父代。 如果是,它仍然在DOM中。 如果它不( null ),它不在DOM中。 删除它: if(style.parentNode){ //check if it has a parent style.parentNode.removeChild(style); //if it does, this is how to remove it } ...删除本地标记失败(Delete local tag fails)[2022-04-08]
当然: hg tag --remove --local tag-name Sure: hg tag --remove --local tag-name如何在使用jquery检查复选框时添加新的div标记(How to add new div tag when check box is checked using jquery)[2022-04-15]
$(':checkbox').click(function () { if ($(this).attr('checked')) { // create new div var newDiv = $('contents'); // you can insert element like this: newDiv.insertAfter($(this)); // or like that (choo ...检查删除是否成功消息php ajax jquery mysql(check if delete was successful message php ajax jquery mysql)[2023-08-22]
我真的不明白你的问题,但我会采取有根据的猜测...... 您需要将逻辑包装在“confirm”IF语句中。 另外,你有一个额外的“});”。 $(document).ready(function(){ $('.del_btn').click(function() { if (confirm("Are you sure you want to delete this Color?")) { var del_id = $(this).attr('rel'); ...相关文章
更多- mybatis 调用 mysql 存储过程 返回结果集
- Hadoop源码分析之RPC(Remote Procedure Call Protocol)
- Solr 3.6.2索引MySQL数据库配置过程
- Solr 3.6.2索引MySQL数据库配置过程
- 存储过程和函数有什么区别?
- java 调用oracle的存储过程返回记录集
- java 调用oracle的存储过程返回记录集
- mysql问题
- [Hive] 完全分布式安装过程(MetaStore: MySQL)
- 关于netbeans和mysql的问题
最新问答
更多- 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
- 如何通过引用返回对象?(How is returning an object by reference possible?)
- 矩阵如何存储在内存中?(How are matrices stored in memory?)
- 每个请求的Java新会话?(Java New Session For Each Request?)
- css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
- 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
- xcode语法颜色编码解释?(xcode syntax color coding explained?)
- 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
- 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
- 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
- 西安哪有PLC可控制编程的培训
- 在Entity Framework中选择基类(Select base class in Entity Framework)
- 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
- 电脑二级VF有什么用
- Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
- 金华英语角.
- 手机软件如何制作
- 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
- 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
- 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
- Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
- 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
- python的访问器方法有哪些
- DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
- 在Ruby中对组合进行排序(Sorting a combination in Ruby)
- 网站开发的流程?
- 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
- 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
- 透明度错误IE11(Transparency bug IE11)
- linux的基本操作命令。。。