peewee Documentation Release 0.9.7
another way of expressing the same User.select({ User: ['*'], Tweet: [Count('id', 'count')] }).group_by('id').join(Tweet).order_by(('count', 'desc')) # do an atomic update TweetCount.update(count=F('count') SELECT "id", "creator", "name" FROM "blog" WHERE "id" = ? LIMIT 1 PARAMS: [1] To delete an arbitrary group of records, you can issue a DELETE query. The following will delete all Entry objects that are a year equivalent to the following: query = Blog.select({ Blog: ['*'], Entry: [Count('id')], }).group_by(Blog).join(Entry) The resulting query will return Blog objects with all their normal attributes0 码力 | 78 页 | 143.68 KB | 1 年前3peewee Documentation Release 0.9.7
# another way of expressing the same User.select({ User: [’*’], Tweet: [Count(’id’, ’count’)] }).group_by(’id’).join(Tweet).order_by((’count’, ’desc’)) # do an atomic update TweetCount.update(count=F(’count’) SELECT "id", "creator", "name" FROM "blog" WHERE "id" = ? LIMIT 1 PARAMS: [1] To delete an arbitrary group of records, you can issue a DELETE query. The following will delete all Entry objects that are a year This is equivalent to the following: query = Blog.select({ Blog: [’*’], Entry: [Count(’id’)], }).group_by(Blog).join(Entry) The resulting query will return Blog objects with all their normal attributes0 码力 | 53 页 | 347.03 KB | 1 年前3peewee Documentation Release 1.0.0
another way of expressing the same User.select({ User: ['*'], Tweet: [Count('id', 'count')] }).group_by('id').join(Tweet).order_by(('count', 'desc')) # do an atomic update TweetCount.update(count=F('count') "id", "creator", "name" FROM "blog" WHERE "id" = ? LIMIT 1 PARAMS: [1] To delete an arbitrary group of records, you can issue a DELETE query. The following will delete all Entry objects that are a year equivalent to the following: query = Blog.select({ Blog: ['*'], Entry: [Count('id')], }).group_by(Blog).join(Entry) The resulting query will return Blog objects with all their normal attributes0 码力 | 101 页 | 163.20 KB | 1 年前3peewee Documentation Release 1.0.0
# another way of expressing the same User.select({ User: [’*’], Tweet: [Count(’id’, ’count’)] }).group_by(’id’).join(Tweet).order_by((’count’, ’desc’)) # do an atomic update TweetCount.update(count=F(’count’) SELECT "id", "creator", "name" FROM "blog" WHERE "id" = ? LIMIT 1 PARAMS: [1] To delete an arbitrary group of records, you can issue a DELETE query. The following will delete all Entry objects that are a year This is equivalent to the following: query = Blog.select({ Blog: [’*’], Entry: [Count(’id’)], }).group_by(Blog).join(Entry) The resulting query will return Blog objects with all their normal attributes0 码力 | 71 页 | 405.29 KB | 1 年前3peewee Documentation Release 2.0.2
similar way of expressing the same User.select( User, fn.Count(Tweet.id).alias(’ct’) ).join(Tweet).group_by(User).order_by(R(’ct desc’)) # do an atomic update Counter.update(count=Counter.count + 1).where( ’last_date’)] }).join(Tweet, ’LEFT OUTER’).group_by(User) # 2.0 User.select( User, fn.Max(Tweet.created_date).alias(’last_date’) ).join(Tweet, JOIN_LEFT_OUTER).group_by(User) Let’s do an atomic update on SELECT t1."id", t1."username" FROM "user" AS t1 WHERE t1."id" = ? PARAMS: [1] To delete an arbitrary group of records, you can issue a DELETE query. The following will delete all Tweet objects that are a year0 码力 | 65 页 | 315.33 KB | 1 年前3PlantUML 1.2021.2 Справочное руководство по языку
• par • break • critical • group, соответствует тексту который должен быть отображен Справочное руководство по языку PlantUML (1.2021.2) 8 / 387 1.12 Secondary group label 1 ДИАГРАММА ПОСЛЕДОВАТЕЛЬНОСТИ -> Alice: Authentication Accepted else some kind of failure Bob -> Alice: Authentication Failure group My own label Alice -> Log : Log attack start loop 1000 times Alice -> Bob: DNS Attack end Alice -> end else Another type of failure Bob -> Alice: Please repeat end @enduml 1.12 Secondary group label For group, it is possible to add, between[ and ], a secondary text or label that will be displayed0 码力 | 388 页 | 4.18 MB | 1 年前3PlantUML 1.2021.1 Справочное руководство по языку
• par • break • critical • group, соответствует тексту который должен быть отображен Справочное руководство по языку PlantUML (1.2021.1) 8 / 382 1.12 Secondary group label 1 ДИАГРАММА ПОСЛЕДОВАТЕЛЬНОСТИ -> Alice: Authentication Accepted else some kind of failure Bob -> Alice: Authentication Failure group My own label Alice -> Log : Log attack start loop 1000 times Alice -> Bob: DNS Attack end Alice -> end else Another type of failure Bob -> Alice: Please repeat end @enduml 1.12 Secondary group label For group, it is possible to add, between[ and ], a secondary text or label that will be displayed0 码力 | 383 页 | 4.13 MB | 1 年前3PlantUML 1.2021.3 Справочное руководство по языку
• par • break • critical • group, соответствует тексту который должен быть отображен Справочное руководство по языку PlantUML (1.2021.2) 8 / 405 1.12 Secondary group label 1 ДИАГРАММА ПОСЛЕДОВАТЕЛЬНОСТИ -> Alice: Authentication Accepted else some kind of failure Bob -> Alice: Authentication Failure group My own label Alice -> Log : Log attack start loop 1000 times Alice -> Bob: DNS Attack end Alice -> end else Another type of failure Bob -> Alice: Please repeat end @enduml 1.12 Secondary group label For group, it is possible to add, between[ and ], a secondary text or label that will be displayed0 码力 | 406 页 | 4.33 MB | 1 年前3PlantUML 1.2019.3 Справочное руководство по языку
возможно используя следующие ключевые слова: • alt/else • opt • loop • par • break • critical • group, соответствует тексту который должен быть отображен Имеется возможность добавить текст который должен -> Alice: Authentication Accepted else some kind of failure Bob -> Alice: Authentication Failure group My own label Alice -> Log : Log attack start loop 1000 times Alice -> Bob: DNS Attack end Alice -> определяются с помощью следующих символов: Type Symbol Drawing Extension <|-- Composition *-- Aggregation o-- Можно заменить - на .., чтобы создать пунктирную линию. Зная эти правила можно нарисовать0 码力 | 159 页 | 1.76 MB | 1 年前3PlantUML 1.2019.2 Справочное руководство по языку
возможно используя следующие ключевые слова: • alt/else • opt • loop • par • break • critical • group, соответствует тексту который должен быть отображен Имеется возможность добавить текст который должен -> Alice: Authentication Accepted else some kind of failure Bob -> Alice: Authentication Failure group My own label Alice -> Log : Log attack start loop 1000 times Alice -> Bob: DNS Attack end Alice -> определяются с помощью следующих символов: Type Symbol Drawing Extension <|-- Composition *-- Aggregation o-- Можно заменить - на .., чтобы создать пунктирную линию. Зная эти правила можно нарисовать0 码力 | 159 页 | 1.76 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100