Django 5.0.x Documentationqueryset. ## Asynchronous queries If you are writing asynchronous views or code, you cannot use the ORM for queries in quite the way we have described above, as you cannot call blocking synchronous code SynchronousOnlyOperation. If you wish to use a transaction, we suggest you write your ORM code inside a separate, synchronous function and then call that using sync_to_async - see Asynchronous publisher’s book’s ratings for only those ratings exceeding 3.0. It’s difficult to intuit how the ORM will translate complex querysets into SQL queries so when in doubt, inspect the SQL with str(queryset0 码力 | 3407 页 | 3.21 MB | 2 年前3
peewee Documentation
Release 3.4.0list of changes. Peewee is a simple and small ORM. It has few (but expressive) concepts, making it easy to learn and intuitive to use. • A small, expressive ORM • Written in python with support for versions answer for other people to find. • Ask on the mailing list, https://groups.google.com/group/peewee-orm 1.5 Query Examples These query examples are taken from the site PostgreSQL Exercises. A sample data-set tsvector when inserting or updating the search_content field: content = 'Excellent blog post about peewee ORM.' blog_entry = Blog.create( content=content, search_content=fn.to_tsvector(content)) Note: If you are0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation
Release 2.0.2Documentation Release 2.0.0 charles leifer April 29, 2014 Powered by TCPDF (www.tcpdf.org) • a small orm • written in python • provides a lightweight querying interface over sql • uses sql concepts when on notes on upgrading and changes from 1.0 ## Contents: ### 1.1 Overview peewee is a lightweight ORM written in python. ## Examples: Examples: # a simple query selecting a user User.get(User.username though, to keep the implementation incredibly simple. I've made a couple dives into Django's orm but have never come away with a deep understanding of its implementation. Peewee is small enough that0 码力 | 65 页 | 315.33 KB | 1 年前3
peewee Documentation Release 3.1.0of changes. Peewee is a simple and small ORM. It has few (but expressive) concepts, making it easy to learn and intuitive to use. • A small, expressive ORM • Written in python with support for versions answer for other people to find. • Ask on the mailing list, https://groups.google.com/group/peewee-orm ## Query Examples These query examples are taken from the site PostgreSQL Exercises [https://pgexercises when inserting or updating the search_content field: content = 'Excellent blog post about peewee ORM.' blog_entry = Blog.create( content=content, search_content=fn.to_tsvector(content) )0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation
Release 1.0.0Release 1.0.0 charles leifer January 12, 2013 Powered by TCPDF (www.tcpdf.org) ## CONTENTS • a small orm • written in python • provides a lightweight querying interface over sql • uses sql concepts when and RESTful API, check out flask-peewee. ## CONTENTS: ### 1.1 Overview peewee is a lightweight ORM written in python. Examples: # a simple query selecting a user User.get(username='charles') though, to keep the implementation incredibly simple. I've made a couple dives into Django's orm but have never come away with a deep understanding of its implementation. Peewee is small enough that0 码力 | 71 页 | 405.29 KB | 1 年前3
peewee Documentation
Release 3.5.0list of changes. Peewee is a simple and small ORM. It has few (but expressive) concepts, making it easy to learn and intuitive to use. • A small, expressive ORM • Written in python with support for versions answer for other people to find. • Ask on the mailing list, https://groups.google.com/group/peewee-orm 18 Chapter 1. Contents: peewee Documentation, Release 3.5.0 1.5 Database The Peewee Database object tsvector when inserting or updating the search_content field: content = 'Excellent blog post about peewee ORM.' blog_entry = Blog.create( content=content, search_content=fn.to_tsvector(content)) Note: If you are0 码力 | 282 页 | 1.02 MB | 1 年前3
《Slides Dev Web》 03. Laravel
• version 9 publiée 08.02.22, v10 : 07.02.23 ## Principales fonctionnalités • Routes RESTful • ORM (Eloquent, implementation du pattern Active Record) • Migrations • Moteur de templates (Blade) • Architecture ## MVC • Structure d'une appli web = cycle Requête/Response $ ^{9} $ • Modèle : Eloquent ORM • Vue : Blade Engine • Contrôleur : hérite de BaseController ## Pratique • Conventions de codage0 码力 | 8 页 | 224.34 KB | 2 年前3
Laravel 3.2 Documentation84 Inserting Records ..... 84 Updating Records ..... 84 Deleting Records ..... 85 Eloquent ORM ..... 85 The Basics ..... 85 Conventions ..... 86 Retrieving Models ..... 86 Aggregates .. directory or use the "Artisan" command-line tool to automatically install them. - The Eloquent ORM is the most advanced PHP ActiveRecord implementation available. With the capacity to easily apply constraints configuration, routes, migrations, tasks, and more. A bundle could be everything from a database ORM to a robust authentication system. Modularity of this scope is an important aspect that has driven0 码力 | 139 页 | 1.13 MB | 2 年前3
Spring Framework 1.2.4 ReferencePOJOs (plain old java objects). The ORM package provides integration layers for popular object-relational mapping APIs, including JDO, Hibernate and iBatis. Using the ORM package you can use all those O/R-mappers independent of the web layer enable you to choose where to execute validation rules. Spring's ORM support is integrated with Hibernate, JDO and iBatis. Using for example HibernateDaoSupport, you can er needs a reference to the SessionFactory.0 码力 | 289 页 | 1.49 MB | 2 年前3
Spring Framework 1.2.1 ReferencePOJOs (plain old java objects). The ORM package provides integration layers for popular object-relational mapping APIs, including JDO, Hibernate and iBatis. Using the ORM package you can use all those O/R-mappers independent of the web layer enable you to choose where to execute validation rules. Spring's ORM support is integrated with Hibernate, JDO and iBatis. Using for example HibernateDaoSupport, you can r needs a reference to the session factory.>ref local="dataSource" 0 码力 | 244 页 | 1.30 MB | 2 年前3
共 614 条
- 1
- 2
- 3
- 4
- 5
- 6
- 62













