diff --git a/ydb/demo/foo/article_ydb.gox b/ydb/demo/foo/article_ydb.gox index 8e25b55..01fcf3b 100644 --- a/ydb/demo/foo/article_ydb.gox +++ b/ydb/demo/foo/article_ydb.gox @@ -41,7 +41,7 @@ class "Articles", => { api "listByTag", func(tag string) (result []ArticleEntry) { var ids []string query "tag.name=?", tag - ret "tag.article", &ids + ret "tag.doc", &ids query "id=?", ids ret &result diff --git a/ydb/demo/foo/gop_autogen.go b/ydb/demo/foo/gop_autogen.go index 3731ade..8bc54e7 100644 --- a/ydb/demo/foo/gop_autogen.go +++ b/ydb/demo/foo/gop_autogen.go @@ -82,7 +82,7 @@ func (this *article) Main() { //line ydb/demo/foo/article_ydb.gox:43:1 this.Query__1("tag.name=?", tag) //line ydb/demo/foo/article_ydb.gox:44:1 - this.Ret__1("tag.article", &ids) + this.Ret__1("tag.doc", &ids) //line ydb/demo/foo/article_ydb.gox:46:1 this.Query__1("id=?", ids) //line ydb/demo/foo/article_ydb.gox:47:1