「Drupal database」の版間の差分

提供: UselessNotes
ナビゲーションに移動検索に移動
編集の要約なし
編集の要約なし
3行目: 3行目:
   |from = actor
   |from = actor
   |where = actor_id = '{{{actor_id}}}'
   |where = actor_id = '{{{actor_id}}}'
  |where = actor_name = '{{{actor_name}}}'
   |limit=10
   |limit=10
}}
}}
{| class="wikitable"
{| class="wikitable"
|-
|-
! user_id
! actor_id !! actor_name
{{#for_external_table:
{{#for_external_table:
   |-
   |-
   | {{{actor_id}}}
   | {{{actor_id}}} || {{{actor_name}}}
}}
}}
|}
|}

2025年4月9日 (水) 11:31時点における版

{{#get_db_data:

 db = my_wiki
 |from = actor
 |where = actor_id = '{{{actor_id}}}'
 |where = actor_name = '{{{actor_name}}}'
 |limit=10

}}

actor_id actor_name

{{#for_external_table:

{{{actor_id}}} {{{actor_name}}}

}}