~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/tables.rst

  • Committer: Monty Taylor
  • Date: 2010-04-15 19:14:53 UTC
  • mto: This revision was merged to the branch mainline in revision 1476.
  • Revision ID: mordred@inaugust.com-20100415191453-ril2x8qdo78fny9w
Replaced test_authz with a plugin implementing a hard-coded simple
multi-tennancy policy. The policy describes:
- A root user exists which can do anything
- A user may only see a schema that is named the same has his user name
- A user may see data_dictionary and information_schema (data_dictionary
  required for show databases to work)

This way, we can more clearly test the results of the authorization
interface while providing an optional plugin that is actually useful to some
human.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Tables 
2
 
=======
3
 
 
4
 
A table makes up a collection of :doc:`/columntypes` that
5
 
can be joined together in order to create relational result sets. 
6
 
 
7
 
Each record in the table is called a row, and a table can have an infinite
8
 
set of rows. Each row represents one piece of data, and each column can
9
 
be thought of as representing a component of that piece of data. 
10
 
 
11
 
So, for example, if we have a table for a customer information, then
12
 
the columns may include information such as First Name, Last Name,
13
 
Address, City, Country, Birth Date, and so on. As a result, tables have
14
 
column headers, which specify the data types for that particular column.
15
 
 
16
 
.. toctree:: 
17
 
        :maxdepth: 2
18
 
 
19
 
        alter_table
20
 
        create_table
21
 
        drop_table
22
 
        truncate
23
 
        rename