Because it can strongly affect security, use extreme caution when you delete code groups.
警告因为删除代码组可能会对安全产生极大影响,所以删除代码组时要极为小心。
Don't be afraid to delete code. Just because someone (possibly you) spent a long time writing it doesn't mean it's the right way to do the job.
别怕删代码人们(很可能是你)花了很多的时间去写并不意味着是代码一定能很好地完成既定任务。
By following this practice, you can control which teams or developers can add, modify, or delete code in the different sections of the database.
采取这个方法,您就可以控制哪些小组或开发人员可以新增、修改或删除资料库不同区段中的程式码。
Basic tests should include the testing of validation code and assertions, and database operations such as Create, Read, Update and Delete (CRUD).
基本测试应该包括对检验代码和断言以及数据库操作(比如创建、读取、更新和删除,CRUD)的测试。
While this particular example might not be considered severe, other more malicious code could be added, especially DELETE or UPDATE statements that modify tables.
虽然这个特例的后果可能并不太严重,但完全有可能添加更恶意的代码,尤其是会修改表的DELETE或update语句。
In that discussion, I suggested readers running the example code should delete the existing database file containing the results from previous runs.
在上次讨论中,我建议运行示例代码的读者删除包含之前运行结果的已有数据库文件。
Listing 7 shows code to retrieve a system, Listing 8 to delete a system and Listing 9 to create a system.
清单7展示检索系统的代码,清单8展示了删除系统,清单9展示了创建系统。
Given these and similar issues, I find the efforts of some extreme programmers to delete all untested code automatically to be unrealistic and perhaps satirical.
考虑到上面这些以及类似的情况,我认为一些极限程序员自动删除所有未测试代码的做法是不切实际的,并且可能具有一定的讽刺性。
This is a particular problem if you change something the generated code relies on, as the generated code will go into error and users will generally delete the code and re-run the generator.
在你修改了生成代码所依赖的某些内容后这个问题就会变得尤为明显,因为此时生成的代码将会出错,而用户通常都会删掉代码并重新运行生成工具。
This fraction of code responds to actions on the three buttons displayed in Figure 3 and the delete link at the end of the user's last update.
此部分代码响应图3显示的3个按钮和用户上次更新末部的删除链接。
Don't comment out code you mean to delete. I have known people to comment out blocks of code they were rewriting and check them in commented out.
不要把应删掉的代码注释掉了事我知道有些人重写提交代码的时候,把旧代码注释掉。
In the sample code, we have created three Triggers on the customer table for Insert, Update, and Delete.
在示例代码中,我们在customer表上创建了三个触发器,分别用于Insert、Update和Delete操作。
See Download for has all the code implemented in this article, together with a simple jQuery-based test script that you can use to perform get, POST, PUT and DELETE requests on the example API.
从下载部分,下载本文中实现的所有代码,以及一个简单的基于jQuery的测试脚本,您可以使用该脚本在示例API上执行GET、POST、PUT和DELETE请求。
Listing 11 USES the value of col2 as a parameter to restrict DELETE operations based on the value of an XML element (the zip or zip code element of a client's address).
清单11使用col2值作为参数根据一个XML元素(zip或客户端地址的邮政编码元素)限制DELETE操作。
Finally, try making the DELETE request without supplying an IATA code, as shown in Listing 15.
最后,试着发出一个不带有IATA代码的DELETE请求,如清单15所示。
Add the code in Listing 12 to the DELETE case in the index action.
将清单12中的代码添加到index操作中的DELETEcase中。
As illustrated in this article, you can create, view, modify, and delete Web services without writing extensive code, and you can deploy these Web services with ease.
如本文所述,您可以在不编写大量代码的情况下创建、查看、修改和删除Web服务,并且可以轻松地部署这些Web服务。
Delete the call-template element from the code to remove the Properties section from the layout, as Listing 7 shows.
从代码中删去call - template元素,以去掉布局中的properties段落,如列表7所示。
To remove Included Patterns from the description, delete the following call-template element from the code in Listing 11.
为了从描述中移除包含的Patterns,从列表11中的代码中,删除以下的call - template元素。
Get_operation_result Returns an operation result code and message for the bind, search, add, modify, rename, and delete operations.
get _ operation_result返回绑定、搜索、添加、修改、重命名和删除操作的操作结果代码和消息。
The ConfigServiceSample2 code sample (see Download) illustrates how to create and delete a config object. This sample code.
ConfigServiceSample2代码样本(请参见下载)说明了如何创建与删除配置对象。
Now all you need to do is add code to the main method to delete any posts older than 30 days.
现在只需要把代码添加到main方法中来删除发布超过30天的所有post。
Note: you can delete the existing records in the product table that you imported from the old database to test out the code.
注意:可以删除product表中从原数据库导入的现有记录,从而测试此代码。
When given that option, ifrom will delete whatever mailbox is named by the -mailbox switch, so don't use it on the default INBOX mailbox! The Perl code involved couldn't be simpler
当使用这一选项时,ifrom将删除由 -mailbox开关命名的任何邮箱,因此不要对缺省的INBOX 邮箱使用该选项!
Here's the code to delete all these groups.
删除主组不会自动删除任何子组,所以必须手工编码来删除子组。
In a similar fashion, the operations to Look Up, View All, and Delete have been implemented (see the source code attached in the Downloads section).
LookUp、ViewAll和Delete的操作也以类似的方式实现(参见下载部分附带的源代码)。
Now, compare the SQL-based PHP code in Listing 13 with the SPARQL-based PHP code in Listing 14 for the delete operation.
现在,比较清单13中基于SQL的PHP代码与清单14中基于SPARQL的PHP代码中的delete操作。
So, take a gander at another code comparison - this time using the PHP language - starting with read, then going on to create, delete, and update, as with the code comparisons above.
因此,看一下另一种代码比较—这次使用php语言—从read开始,然后是create、delete和update,同上面的代码比较一样。
For example, you can delete rows containing information about customers who live in specific zip code or update XML (and non-XML data) only for customers who live in a given state.
例如,您可以删除包含居住在指定邮编地区的客户的信息的行,或者只更新居住在指定州的客户的XML(和非xml数据)。
On the other hand, dead, unused code only clutters a program and makes it harder to read and understand, so delete it.
另一方面,无效的,废弃的代码只会使程序变得拥挤不堪,难于阅读和理解,所以还是删掉的好。
应用推荐