dferg.us - SQLiteDB Class









Search Preview

SQLiteDB Class | David Ferguson

dferg.us
David Ferguson Hi, I'm David Ferguson, and I like to make things. Projects Workflows Class SQLiteDB Class
.us > dferg.us

SEO audit: Content analysis

Language Error! No language localisation is found.
Title SQLiteDB Class | David Ferguson
Text / HTML ratio 3 %
Frame Excellent! The website does not use iFrame solutions.
Flash Excellent! The website does not have any flash contents.
Keywords cloud > function 'users' = David '30' `users` SELECT >get sql>where 'name' SQLiteDB array Class data clause `name` field `id` sql>select
Keywords consistency
Keyword Content Title Description Headings
> 10
function 9
'users' 8
= 7
David 6
'30' 6
Headings
H1 H2 H3 H4 H5 H6
2 3 9 4 0 0
Images We found 0 images on this web page.

SEO Keywords (Single)

Keyword Occurrence Density
> 10 0.50 %
function 9 0.45 %
'users' 8 0.40 %
= 7 0.35 %
David 6 0.30 %
'30' 6 0.30 %
`users` 6 0.30 %
SELECT 6 0.30 %
>get 6 0.30 %
sql>where 6 0.30 %
'name' 6 0.30 %
SQLiteDB 6 0.30 %
array 5 0.25 %
Class 5 0.25 %
data 5 0.25 %
clause 5 0.25 %
`name` 4 0.20 %
field 4 0.20 %
`id` 4 0.20 %
sql>select 4 0.20 %

SEO Keywords (Two Word)

Keyword Occurrence Density
'users' > 6 0.30 %
>get 'users' 6 0.30 %
> SELECT 6 0.30 %
SELECT FROM 6 0.30 %
FROM `users` 6 0.30 %
`users` WHERE 6 0.30 %
WHERE `name` 4 0.20 %
`name` = 4 0.20 %
= David 4 0.20 %
sql>where 'name' 4 0.20 %
Class SQLiteDB 4 0.20 %
'id' '30' 4 0.20 %
'30' '>' 4 0.20 %
'>' >get 4 0.20 %
`id` > 4 0.20 %
WHERE clause 4 0.20 %
1 2 4 0.20 %
'name' 'David' 4 0.20 %
2 sql>where 3 0.15 %
of the 3 0.15 %

SEO Keywords (Three Word)

Keyword Occurrence Density Possible Spam
'users' > SELECT 6 0.30 % No
>get 'users' > 6 0.30 % No
FROM `users` WHERE 6 0.30 % No
SELECT FROM `users` 6 0.30 % No
> SELECT FROM 6 0.30 % No
'>' >get 'users' 4 0.20 % No
`name` = David 4 0.20 % No
WHERE `name` = 4 0.20 % No
`users` WHERE `name` 4 0.20 % No
'id' '30' '>' 4 0.20 % No
'30' '>' >get 4 0.20 % No
sql>where 'name' 'David' 4 0.20 % No
Class SQLiteDB Class 3 0.15 % No
1 2 sql>where 3 0.15 % No
the table to 2 0.10 % No
= David AND 2 0.10 % No
sql>select 'name email' 2 0.10 % No
`users` WHERE `id` 2 0.10 % No
WHERE `id` > 2 0.10 % No
`id` > '30' 2 0.10 % No

SEO Keywords (Four Word)

Keyword Occurrence Density Possible Spam
SELECT FROM `users` WHERE 6 0.30 % No
'users' > SELECT FROM 6 0.30 % No
> SELECT FROM `users` 6 0.30 % No
>get 'users' > SELECT 6 0.30 % No
'id' '30' '>' >get 4 0.20 % No
'30' '>' >get 'users' 4 0.20 % No
'>' >get 'users' > 4 0.20 % No
WHERE `name` = David 4 0.20 % No
`users` WHERE `name` = 4 0.20 % No
FROM `users` WHERE `name` 4 0.20 % No
'David' >and_where 'id' '30' 2 0.10 % No
'name' 'David' >and_where 'id' 2 0.10 % No
sql>where 'id' '30' '>' 2 0.10 % No
>and_where 'id' '30' '>' 2 0.10 % No
`name` = David AND 2 0.10 % No
sql>where 'name' 'David' >and_where 2 0.10 % No
sql = new SQLiteDB 2 0.10 % No
= David AND `id` 2 0.10 % No
David AND `id` > 2 0.10 % No
AND `id` > '30' 2 0.10 % No

Internal links in - dferg.us

Workflows Class
Workflows Class | David Ferguson
SQLiteDB Class
SQLiteDB Class | David Ferguson
Read More →
Cesium Docset for Dash | David Ferguson
David Ferguson
David Ferguson | David Ferguson
Uncategorized
Uncategorized | David Ferguson
Read More →
Text Expansion with Dash | David Ferguson
Read More →
Search Reeder | David Ferguson
Projects
Projects | David Ferguson
Workflows
Workflows | David Ferguson
Read More →
Search Pocket Workflow for Alfred 2 | David Ferguson
Read More →
Youtube Download Alfred 2 Workflow | David Ferguson
Theme
Theme | David Ferguson
3 Comments
Smooth Theme | David Ferguson
Read More →
AlfredTweet 2 | David Ferguson
Read More →
Restart OSX without Relaunch via Alfred | David Ferguson
Read More →
Faves Workflow | David Ferguson

Dferg.us Spined HTML


SQLiteDBMatriculation| David Ferguson David Ferguson Hi, I'm David Ferguson, and I like to make things. Projects WorkflowsMatriculationSQLiteDBMatriculationSQLiteDBMatriculationSQLiteDB A PHP utility matriculation for interacting with local SQLite databases for Alfred. The matriculation provides functions for inserting data, querying the database, creating tables, truncating, dropping tables, and more, all in an ActiveRecord-esque way. Methods can be chained for easy readability. Initialization To initialize the matriculation object, include it in your php code, then instantiate the new object. 1 2 require_once('sqlitedb.php'); $sql = new SQLiteDB(); require_once('sqlitedb.php'); $sql = new SQLiteDB(); Methods Select Set which table fields you wish to have returned in your result set. The list of fields can be a single string with a comma separated list of fields, or an variety of field names. This function is optional if you want to retrieve all fields. If this function is not called, the default is to select *. Example with string data 1 $sql->select( 'name, email' ); $sql->select( 'name, email' ); Example with variety data 1 $sql->select( array( 'name', 'email' ) ); $sql->select( array( 'name', 'email' ) ); From Set the table to perform your query on. This function isn’t unchangingly required considering most terminating functions indulge you to pass the table name there. ie. the insert function allows you to pass the data to insert, and the table to insert it into in the same function. The from function can winnow data as a string, or an variety of tables to be included in the query. Example 1 $sql->from( 'users' ); $sql->from( 'users' ); Where Set the where clause for your query. There are 3 parameters for this function. $field – The target field for the WHERE clause. $value – The value to compare for the target field of the WHERE clause. $comparison (optional) – The type of comparison that will be performed in the where clause. Default: = Example 1 1 2 $sql->where( 'name', 'David' )->get( 'users' ); // --> SELECT * FROM `users` WHERE `name` = "David" $sql->where( 'name', 'David' )->get( 'users' ); // --> SELECT * FROM `users` WHERE `name` = "David" Example 2 1 2 $sql->where( 'id', '30', '>' )->get( 'users' ); // --> SELECT * FROM `users` WHERE `id` > 30 $sql->where( 'id', '30', '>' )->get( 'users' ); // --> SELECT * FROM `users` WHERE `id` > 30 And_Where Chain flipside WHERE clause to the end of the previous WHERE clause. The syntax of the and_where and or_where function both follow the same  pattern as the where function. Example 1 2 $sql->where( 'name', 'David' )->and_where( 'id', '30', '>' )->get( 'users' ); // --> SELECT * FROM `users` WHERE `name` = "David" AND `id` > '30' $sql->where( 'name', 'David' )->and_where( 'id', '30', '>' )->get( 'users' ); // --> SELECT * FROM `users` WHERE `name` = "David" AND `id` > '30'Increasinglydocumentation coming … Friends Javier Esquivel - @jovotrox Don Southard - @binaryghost Andrew Pepperrell - @preppeller PagesWorkflowsMatriculationSQLiteDBMatriculationMy Tumblr Contact Twitter: @jdfwarrior Facebook: david.ferg Google+: jdfwarrior Some of my old stuff here