about summary refs log tree commit diff
path: root/sublime/.config/sublime-text-3/Packages/User/query.sublime-snippet
blob: 843db8bb7b2988e34ffc814753d363a0169909c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<snippet>
  <content><![CDATA[
\$query = '${1:select * from dual}';
\$query_data = \$bsp_ora->db_query(\$query);
while(\$data_ob = oci_fetch_object(\$query_data)){
  $2
}
]]></content>
  <!-- PHP var names must be escaped otherwise it will be a snippet variable -->
  <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
  <tabTrigger>oraquery</tabTrigger>
  <!-- Optional: Set a scope to limit where the snippet will trigger -->
  <scope>source.php</scope>
  <description>Basic query. INC_db.php must be included.</description>
</snippet>