peewee Documentation Release 2.10.2records Counting records Aggregating records Retrieving Scalar Values SQL Functions, Subqueries and “Raw expressions” Security and SQL Injection Window functions Retrieving raw tuples / dictionaries Returning query: ... print person.name, person.birthday ... Herb 1950-05-05 One last query. This will use a SQL function to find all people whose names start with either an upper or lower-case G: >>> expression close() This is just the basics! You can make your queries as complex as you like. All the other SQL clauses are available as well, such as: group_by() having() limit() and offset() Check the documentation0 码力 | 275 页 | 276.96 KB | 1 年前3
peewee Documentation Release 3.0.0records Counting records Aggregating records Retrieving Scalar Values SQL Functions, Subqueries and “Raw expressions” Security and SQL Injection Window functions Retrieving row tuples / dictionaries / namedtuples every Person returned by the original SELECT! We can avoid this by performing a JOIN and using a SQL function to aggregate the results. query = (Person .select(Person, fn.COUNT(Pet.id).alias('pet_count')) prints: # Bob # * Kitty # * Fido # Grandma L. # Herb # * Mittens Jr SQL Functions One last query. This will use a SQL function to find all people whose names start with either an upper or lower-case0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation Release 3.4.0records Counting records Aggregating records Retrieving Scalar Values SQL Functions, Subqueries and “Raw expressions” Security and SQL Injection Window functions Retrieving row tuples / dictionaries / namedtuples every Person returned by the original SELECT! We can avoid this by performing a JOIN and using a SQL function to aggregate the results. query = (Person .select(Person, fn.COUNT(Pet.id).alias('pet_count')) prints: # Bob # * Kitty # * Fido # Grandma L. # Herb # * Mittens Jr SQL Functions One last query. This will use a SQL function to find all people whose names start with either an upper or lower-case0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation Release 3.1.0records Counting records Aggregating records Retrieving Scalar Values SQL Functions, Subqueries and “Raw expressions” Security and SQL Injection Window functions Retrieving row tuples / dictionaries / namedtuples every Person returned by the original SELECT! We can avoid this by performing a JOIN and using a SQL function to aggregate the results. query = (Person .select(Person, fn.COUNT(Pet.id).alias('pet_count')) prints: # Bob # * Kitty # * Fido # Grandma L. # Herb # * Mittens Jr SQL Functions One last query. This will use a SQL function to find all people whose names start with either an upper or lower-case0 码力 | 332 页 | 370.77 KB | 1 年前3
CakePHP Cookbook 3.x
to be using MySQL server in this tutorial. You’ll need to know enough about SQL in order to create a database, and run SQL snippets from the tutorial. CakePHP will handle building all the queries your for use in this tutorial, with a name of your choice, e.g. cake_cms. You can execute the following SQL to create the necessary tables: USE cake_cms; CREATE TABLE users ( id INT AUTO_INCREMENT PRIMARY Cake\Database\Type\IntegerType will now raise an exception when values are not numeric when preparing SQL statements and converting database results to PHP types. Cake\Database\Statement\StatementDecorator::fetchAll()0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook Documentation 5.xin Tests Creating Schema with Migrations Creating Schema with Abstract Schema Creating Schema with SQL Dump Files Fixture State Managers Creating Fixtures Dynamic Data Loading Fixtures in your Test Cases to be using MySQL server in this tutorial. You’ll need to know enough about SQL in order to create a database, and run SQL snippets from the tutorial. CakePHP will handle building all the queries your name of your choice such as cake_cms. If you are using MySQL/MariaDB, you can execute the following SQL to create the necessary tables: CREATE DATABASE cake_cms; USE cake_cms; CREATE TABLE users (0 码力 | 1080 页 | 939.39 KB | 1 年前3
Apache Kyuubi 1.8.0-rc0 DocumentationKyuubi™ is a distributed and multi-tenant gateway to provide serverless SQL on Data Warehouses and Lakehouses. Kyuubi builds distributed SQL query engines on top of various kinds of modern computing frameworks Lakehouse with pure SQL for both data processing, e.g. ETL, and online analytics processing(OLAP), e.g. BI. All workloads can be done on one platform, using one copy of data, with one SQL interface. A Unified engines, sessions, operations, and miscellaneous ones. It provides methods that allow clients to submit SQL queries and receive the query results, submit metadata requests and receive metadata results. It enables0 码力 | 428 页 | 5.28 MB | 1 年前3
Apache Kyuubi 1.8.0-rc1 DocumentationKyuubi™ is a distributed and multi-tenant gateway to provide serverless SQL on Data Warehouses and Lakehouses. Kyuubi builds distributed SQL query engines on top of various kinds of modern computing frameworks Lakehouse with pure SQL for both data processing, e.g. ETL, and online analytics processing(OLAP), e.g. BI. All workloads can be done on one platform, using one copy of data, with one SQL interface. A Unified engines, sessions, operations, and miscellaneous ones. It provides methods that allow clients to submit SQL queries and receive the query results, submit metadata requests and receive metadata results. It enables0 码力 | 429 页 | 5.28 MB | 1 年前3
Apache Kyuubi 1.8.0 DocumentationKyuubi™ is a distributed and multi-tenant gateway to provide serverless SQL on Data Warehouses and Lakehouses. Kyuubi builds distributed SQL query engines on top of various kinds of modern computing frameworks Lakehouse with pure SQL for both data processing, e.g. ETL, and online analytics processing(OLAP), e.g. BI. All workloads can be done on one platform, using one copy of data, with one SQL interface. A Unified engines, sessions, operations, and miscellaneous ones. It provides methods that allow clients to submit SQL queries and receive the query results, submit metadata requests and receive metadata results. It enables0 码力 | 429 页 | 5.28 MB | 1 年前3
CakePHP Cookbook 4.x
in Tests Creating Schema with Migrations Creating Schema with Abstract Schema Creating Schema with SQL Dump Files Fixture State Managers Creating Fixtures Dynamic Data Loading Fixtures in your Test Cases to be using MySQL server in this tutorial. You’ll need to know enough about SQL in order to create a database, and run SQL snippets from the tutorial. CakePHP will handle building all the queries your name of your choice such as cake_cms. If you are using MySQL/MariaDB, you can execute the following SQL to create the necessary tables: USE cake_cms; CREATE TABLE users ( id INT AUTO_INCREMENT PRIMARY0 码力 | 1249 页 | 1.04 MB | 1 年前3
共 508 条
- 1
- 2
- 3
- 4
- 5
- 6
- 51













