mirror of
https://github.com/NexVeridian/wikidata-to-surrealdb.git
synced 2025-09-02 01:49:13 +00:00
tests
This commit is contained in:
parent
2edaeef042
commit
e37d413372
14 changed files with 525 additions and 250 deletions
|
@ -2,7 +2,7 @@
|
|||
```
|
||||
let $number_of_episodes = (select claims.claims[where id = Property:1113][0].value.ClaimValueData.Quantity.amount as number_of_episodes from Entity where label = "Black Clover, season 1")[0].number_of_episodes;
|
||||
|
||||
return $number_of_episodes[0].number_of_episodes;
|
||||
return $number_of_episodes;
|
||||
|
||||
update Entity SET number_of_episodes=$number_of_episodes where label = "Black Clover, season 1";
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue