w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
  • References
  • PHP
  • CodeIgniter
  • Database
×
Database Quick Start: Example Code
  • References/PHP/CodeIgniter/Database

The following page contains example code showing how the database class is used. For complete details please read the individual pages describing each function.

2025-01-10 15:47:30
CI_DB_query_builder::set_dbprefix()
  • References/PHP/CodeIgniter/Database

set_dbprefix([$prefix = ''])

2025-01-10 15:47:30
CI_DB_forge::add_field()
  • References/PHP/CodeIgniter/Database

add_field($field)

2025-01-10 15:47:30
CI_DB_driver::trans_start()
  • References/PHP/CodeIgniter/Database

trans_start([$test_mode = FALSE])

2025-01-10 15:47:30
CI_DB_utility::optimize_table()
  • References/PHP/CodeIgniter/Database

optimize_table($table_name)

2025-01-10 15:47:30
CI_DB_forge::create_database()
  • References/PHP/CodeIgniter/Database

create_database($db_name)

2025-01-10 15:47:30
CI_DB_driver::cache_set_path()
  • References/PHP/CodeIgniter/Database

cache_set_path([$path = ''])

2025-01-10 15:47:30
CI_DB_query_builder::or_having()
  • References/PHP/CodeIgniter/Database

or_having($key[, $value = NULL[, $escape = NULL]])

2025-01-10 15:47:30
CI_DB_query_builder::get_compiled_update()
  • References/PHP/CodeIgniter/Database

get_compiled_update([$table = ''[, $reset = TRUE]])

2025-01-10 15:47:30
Popular Articles
DrupalDateTime Extends DateTimePlus(). This class extends the basic component and adds in Drupal-specific handling, like translation of the format() method. Static
text text matplotlib.text Classes for including text in a figure. class matplotlib.text.Annotation(s, xy, xytext=None, xycoords='data', textcoords=None,
Lambda functions Constructs a closure: an unnamed function object capable of capturing variables in scope. Syntax [ capture-list ] ( params ) mutable(optional) ex
jQCloud - beautiful word clouds with jQuery jQCloud is a jQuery plugin that builds neat and pure HTML + CSS word clouds and tag clouds that are actually shaped like a cloud.  
proxy_cache Syntax: proxy_cache zone | off; Default: proxy_cache off; Context: http, server, location Defines a shared memory zone used for caching.


Page 15 of 15

|< < Prev 12 13 14 15 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions