mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix a number of typos.
This commit is contained in:
committed by
Dave Page
parent
8bc07c45f5
commit
fe6f9aae61
@@ -405,7 +405,7 @@ class CastView(PGChildNodeView, SchemaDiffObjectCompare):
|
||||
if not status:
|
||||
return internal_server_error(errormsg=res)
|
||||
|
||||
# we need oid to to add object in tree at browser, below sql will
|
||||
# we need oid to add object in tree at browser, below sql will
|
||||
# gives the same
|
||||
last_system_oid = 0 if self.blueprint.show_system_objects else \
|
||||
self.datlastsysoid
|
||||
|
||||
@@ -630,7 +630,7 @@ It may have been removed by another user.
|
||||
errormsg=res
|
||||
)
|
||||
|
||||
# we need oid to to add object in tree at browser,
|
||||
# we need oid to add object in tree at browser,
|
||||
# below sql will gives the same
|
||||
SQL = render_template(
|
||||
"/".join([self.template_path, 'sql/oid.sql']),
|
||||
|
||||
@@ -490,7 +490,7 @@ class CollationView(PGChildNodeView, SchemaDiffObjectCompare):
|
||||
if not status:
|
||||
return internal_server_error(errormsg=res)
|
||||
|
||||
# We need oid to to add object in tree at browser
|
||||
# We need oid to add object in tree at browser
|
||||
SQL = render_template(
|
||||
"/".join([self.template_path, self._OID_SQL]), data=data
|
||||
)
|
||||
@@ -598,7 +598,7 @@ class CollationView(PGChildNodeView, SchemaDiffObjectCompare):
|
||||
if not status:
|
||||
return internal_server_error(errormsg=res)
|
||||
|
||||
# We need oid to to add object in tree at browser
|
||||
# We need oid to add object in tree at browser
|
||||
SQL = render_template("/".join([self.template_path,
|
||||
self._OID_SQL]), coid=coid)
|
||||
|
||||
|
||||
@@ -590,7 +590,7 @@ AND relkind != 'c'))"""
|
||||
if not status:
|
||||
return internal_server_error(errormsg=res)
|
||||
|
||||
# We need oid to to add object in tree at browser, below sql will
|
||||
# We need oid to add object in tree at browser, below sql will
|
||||
# gives the same
|
||||
SQL = render_template("/".join([self.template_path,
|
||||
self._OID_SQL]),
|
||||
|
||||
@@ -418,7 +418,7 @@ class FtsParserView(PGChildNodeView, SchemaDiffObjectCompare):
|
||||
if not status:
|
||||
return internal_server_error(errormsg=res)
|
||||
|
||||
# we need fts_parser id to to add object in tree at browser,
|
||||
# we need fts_parser id to add object in tree at browser,
|
||||
# below sql will give the same
|
||||
sql = render_template(
|
||||
"/".join([self.template_path, self._PROPERTIES_SQL]),
|
||||
|
||||
@@ -389,7 +389,7 @@ class FtsTemplateView(PGChildNodeView, SchemaDiffObjectCompare):
|
||||
if not status:
|
||||
return internal_server_error(errormsg=res)
|
||||
|
||||
# we need fts_template id to to add object in tree at browser,
|
||||
# we need fts_template id to add object in tree at browser,
|
||||
# below sql will give the same
|
||||
sql = render_template(
|
||||
"/".join([self.template_path, self._PROPERTIES_SQL]),
|
||||
|
||||
@@ -937,7 +937,7 @@ class TableView(BaseTableView, DataTypeReader, SchemaDiffTableCompare):
|
||||
if not status:
|
||||
return internal_server_error(errormsg=new_scid)
|
||||
|
||||
# we need oid to to add object in tree at browser
|
||||
# we need oid to add object in tree at browser
|
||||
sql = render_template(
|
||||
"/".join([self.table_template_path, self._OID_SQL]),
|
||||
scid=new_scid, data=data
|
||||
|
||||
@@ -413,7 +413,7 @@ class ColumnsView(PGChildNodeView, DataTypeReader):
|
||||
if not status:
|
||||
return internal_server_error(errormsg=res)
|
||||
|
||||
# we need oid to to add object in tree at browser
|
||||
# we need oid to add object in tree at browser
|
||||
SQL = render_template(
|
||||
"/".join([self.template_path, 'get_position.sql']),
|
||||
tid=tid, data=data
|
||||
|
||||
@@ -528,7 +528,7 @@ class CompoundTriggerView(PGChildNodeView, SchemaDiffObjectCompare):
|
||||
if not status:
|
||||
return internal_server_error(errormsg=res)
|
||||
|
||||
# we need oid to to add object in tree at browser
|
||||
# we need oid to add object in tree at browser
|
||||
SQL = render_template("/".join([self.template_path,
|
||||
self._OID_SQL]),
|
||||
tid=tid, data=data)
|
||||
|
||||
@@ -631,7 +631,7 @@ class IndexesView(PGChildNodeView, SchemaDiffObjectCompare):
|
||||
self.conn.execute_scalar("END;")
|
||||
return internal_server_error(errormsg=res)
|
||||
|
||||
# we need oid to to add object in tree at browser
|
||||
# we need oid to add object in tree at browser
|
||||
SQL = render_template(
|
||||
"/".join([self.template_path, self._OID_SQL]),
|
||||
tid=tid, data=data
|
||||
|
||||
@@ -379,7 +379,7 @@ class RowSecurityView(PGChildNodeView):
|
||||
if not status:
|
||||
return internal_server_error(errormsg=res)
|
||||
|
||||
# we need oid to to add object in tree at browser
|
||||
# we need oid to add object in tree at browser
|
||||
sql = render_template(
|
||||
"/".join([self.template_path, 'get_position.sql']),
|
||||
tid=tid, data=data
|
||||
|
||||
@@ -621,7 +621,7 @@ class TriggerView(PGChildNodeView, SchemaDiffObjectCompare):
|
||||
if not status:
|
||||
return internal_server_error(errormsg=res)
|
||||
|
||||
# we need oid to to add object in tree at browser
|
||||
# we need oid to add object in tree at browser
|
||||
SQL = render_template("/".join([self.template_path,
|
||||
self._OID_SQL]),
|
||||
tid=tid, data=data)
|
||||
|
||||
@@ -1053,7 +1053,7 @@ class TypeView(PGChildNodeView, DataTypeReader, SchemaDiffObjectCompare):
|
||||
if not status:
|
||||
return internal_server_error(errormsg=scid)
|
||||
|
||||
# we need oid to to add object in tree at browser
|
||||
# we need oid to add object in tree at browser
|
||||
SQL = render_template("/".join([self.template_path,
|
||||
self._OID_SQL]),
|
||||
scid=scid, data=data)
|
||||
|
||||
@@ -403,7 +403,7 @@ export class Tree {
|
||||
/**
|
||||
* As the name hints this functions works as a layer in between ACI and
|
||||
* the adaptor. Given a ACITree JQuery node find the location of it in the
|
||||
* Tree and then returns and array with the path to to the Tree Node in
|
||||
* Tree and then returns and array with the path to the Tree Node in
|
||||
* question
|
||||
*
|
||||
* This is not optimized and will always go through the full tree
|
||||
|
||||
Reference in New Issue
Block a user